C# 클래스 BEPUphysics.Constraints.TwoEntity.Motors.RevoluteMotor

Tries to rotate two entities so that they reach a specified relative orientation or speed around an axis.
상속: BEPUphysics.Constraints.TwoEntity.Motors.Motor, I1DImpulseConstraintWithError, I1DJacobianConstraint
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
biasVelocity float

공개 메소드들

메소드 설명
ExclusiveUpdate ( ) : void

Performs any pre-solve iteration work that needs exclusive access to the members of the solver updateable. Usually, this is used for applying warmstarting impulses.

GetAngularJacobianA ( System.Vector3 &jacobian ) : void

Gets the angular jacobian entry for the first connected entity.

GetAngularJacobianB ( System.Vector3 &jacobian ) : void

Gets the angular jacobian entry for the second connected entity.

GetLinearJacobianA ( System.Vector3 &jacobian ) : void

Gets the linear jacobian entry for the first connected entity.

GetLinearJacobianB ( System.Vector3 &jacobian ) : void

Gets the linear jacobian entry for the second connected entity.

GetMassMatrix ( float &outputMassMatrix ) : void

Gets the mass matrix of the constraint.

RevoluteMotor ( ) : System

Constructs a new constraint tries to rotate two entities so that they reach a specified relative orientation around an axis. To finish the initialization, specify the connections (ConnectionA and ConnectionB) as well as the Basis and TestAxis. This constructor sets the constraint's IsActive property to false by default.

RevoluteMotor ( Entity connectionA, Entity connectionB, System.Vector3 motorizedAxis ) : System

Constructs a new constraint tries to rotate two entities so that they reach a specified relative orientation around an axis.

SetupJointTransforms ( System.Vector3 motorizedAxis ) : void

Sets up the joint transforms by automatically creating perpendicular vectors to complete the bases.

SolveIteration ( ) : float

Computes one iteration of the constraint to meet the solver updateable's goal.

Update ( float dt ) : void

Performs the frame's configuration step.

비공개 메소드들

메소드 설명
GetDistanceFromGoal ( float angle ) : float

메소드 상세

ExclusiveUpdate() 공개 메소드

Performs any pre-solve iteration work that needs exclusive access to the members of the solver updateable. Usually, this is used for applying warmstarting impulses.
public ExclusiveUpdate ( ) : void
리턴 void

GetAngularJacobianA() 공개 메소드

Gets the angular jacobian entry for the first connected entity.
public GetAngularJacobianA ( System.Vector3 &jacobian ) : void
jacobian System.Vector3 Angular jacobian entry for the first connected entity.
리턴 void

GetAngularJacobianB() 공개 메소드

Gets the angular jacobian entry for the second connected entity.
public GetAngularJacobianB ( System.Vector3 &jacobian ) : void
jacobian System.Vector3 Angular jacobian entry for the second connected entity.
리턴 void

GetLinearJacobianA() 공개 메소드

Gets the linear jacobian entry for the first connected entity.
public GetLinearJacobianA ( System.Vector3 &jacobian ) : void
jacobian System.Vector3 Linear jacobian entry for the first connected entity.
리턴 void

GetLinearJacobianB() 공개 메소드

Gets the linear jacobian entry for the second connected entity.
public GetLinearJacobianB ( System.Vector3 &jacobian ) : void
jacobian System.Vector3 Linear jacobian entry for the second connected entity.
리턴 void

GetMassMatrix() 공개 메소드

Gets the mass matrix of the constraint.
public GetMassMatrix ( float &outputMassMatrix ) : void
outputMassMatrix float Constraint's mass matrix.
리턴 void

RevoluteMotor() 공개 메소드

Constructs a new constraint tries to rotate two entities so that they reach a specified relative orientation around an axis. To finish the initialization, specify the connections (ConnectionA and ConnectionB) as well as the Basis and TestAxis. This constructor sets the constraint's IsActive property to false by default.
public RevoluteMotor ( ) : System
리턴 System

RevoluteMotor() 공개 메소드

Constructs a new constraint tries to rotate two entities so that they reach a specified relative orientation around an axis.
public RevoluteMotor ( Entity connectionA, Entity connectionB, System.Vector3 motorizedAxis ) : System
connectionA Entity First connection of the pair.
connectionB Entity Second connection of the pair.
motorizedAxis System.Vector3 Rotation axis to control in world space.
리턴 System

SetupJointTransforms() 공개 메소드

Sets up the joint transforms by automatically creating perpendicular vectors to complete the bases.
public SetupJointTransforms ( System.Vector3 motorizedAxis ) : void
motorizedAxis System.Vector3 Axis around which the motor acts.
리턴 void

SolveIteration() 공개 메소드

Computes one iteration of the constraint to meet the solver updateable's goal.
public SolveIteration ( ) : float
리턴 float

Update() 공개 메소드

Performs the frame's configuration step.
public Update ( float dt ) : void
dt float Timestep duration.
리턴 void

프로퍼티 상세

biasVelocity 보호되어 있는 프로퍼티

protected float biasVelocity
리턴 float