C# 클래스 BEPUphysics.Constraints.TwoEntity.Joints.PointOnLineJoint

Constrains two entities so that one has a point that stays on a line defined by the other.
상속: BEPUphysics.Constraints.TwoEntity.Joints.Joint, I2DImpulseConstraintWithError, I2DJacobianConstraint
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
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 ( Vector3 &jacobianX, Vector3 &jacobianY ) : void

Gets the angular jacobian entry for the first connected entity.

GetAngularJacobianB ( Vector3 &jacobianX, Vector3 &jacobianY ) : void

Gets the angular jacobian entry for the second connected entity.

GetLinearJacobianA ( Vector3 &jacobianX, Vector3 &jacobianY ) : void

Gets the linear jacobian entry for the first connected entity.

GetLinearJacobianB ( Vector3 &jacobianX, Vector3 &jacobianY ) : void

Gets the linear jacobian entry for the second connected entity.

GetMassMatrix ( Matrix2x2 &massMatrix ) : void

Gets the mass matrix of the constraint.

PointOnLineJoint ( ) : System

Constructs a joint which constrains a point of one body to be on a line based on the other body. To finish the initialization, specify the connections (ConnectionA and ConnectionB), the LineAnchor, the LineDirection, and the Point (or the entity-local versions). This constructor sets the constraint's IsActive property to false by default.

PointOnLineJoint ( Entity connectionA, Entity connectionB, Vector3 lineAnchor, Vector3 lineDirection, Vector3 pointLocation ) : System

Constructs a joint which constrains a point of one body to be on a line based on the other body.

SolveIteration ( ) : float

Calculates and applies corrective impulses. Called automatically by space.

Update ( float dt ) : void

Performs the frame's configuration step.

비공개 메소드들

메소드 설명
UpdateRestrictedAxes ( ) : void

메소드 상세

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 ( Vector3 &jacobianX, Vector3 &jacobianY ) : void
jacobianX Vector3 First angular jacobian entry for the first connected entity.
jacobianY Vector3 Second angular jacobian entry for the first connected entity.
리턴 void

GetAngularJacobianB() 공개 메소드

Gets the angular jacobian entry for the second connected entity.
public GetAngularJacobianB ( Vector3 &jacobianX, Vector3 &jacobianY ) : void
jacobianX Vector3 First angular jacobian entry for the second connected entity.
jacobianY Vector3 Second angular jacobian entry for the second connected entity.
리턴 void

GetLinearJacobianA() 공개 메소드

Gets the linear jacobian entry for the first connected entity.
public GetLinearJacobianA ( Vector3 &jacobianX, Vector3 &jacobianY ) : void
jacobianX Vector3 First linear jacobian entry for the first connected entity.
jacobianY Vector3 Second linear jacobian entry for the first connected entity.
리턴 void

GetLinearJacobianB() 공개 메소드

Gets the linear jacobian entry for the second connected entity.
public GetLinearJacobianB ( Vector3 &jacobianX, Vector3 &jacobianY ) : void
jacobianX Vector3 First linear jacobian entry for the second connected entity.
jacobianY Vector3 Second linear jacobian entry for the second connected entity.
리턴 void

GetMassMatrix() 공개 메소드

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

PointOnLineJoint() 공개 메소드

Constructs a joint which constrains a point of one body to be on a line based on the other body. To finish the initialization, specify the connections (ConnectionA and ConnectionB), the LineAnchor, the LineDirection, and the Point (or the entity-local versions). This constructor sets the constraint's IsActive property to false by default.
public PointOnLineJoint ( ) : System
리턴 System

PointOnLineJoint() 공개 메소드

Constructs a joint which constrains a point of one body to be on a line based on the other body.
public PointOnLineJoint ( Entity connectionA, Entity connectionB, Vector3 lineAnchor, Vector3 lineDirection, Vector3 pointLocation ) : System
connectionA Entity First connected entity which defines the line.
connectionB Entity Second connected entity which has a point.
lineAnchor Vector3 Location off of which the line is based in world space.
lineDirection Vector3 Direction of the line in world space.
pointLocation Vector3 Location of the point anchored to connectionB in world space.
리턴 System

SolveIteration() 공개 메소드

Calculates and applies corrective impulses. Called automatically by space.
public SolveIteration ( ) : float
리턴 float

Update() 공개 메소드

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