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

Constrains a point on one body to be on a plane defined by another body.
상속: BEPUphysics.Constraints.TwoEntity.Joints.Joint, I1DImpulseConstraintWithError, I1DJacobianConstraint
파일 보기 프로젝트 열기: 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 ( Microsoft.Xna.Framework.Vector3 &jacobian ) : void

Gets the angular jacobian entry for the first connected entity.

GetAngularJacobianB ( Microsoft.Xna.Framework.Vector3 &jacobian ) : void

Gets the angular jacobian entry for the second connected entity.

GetLinearJacobianA ( Microsoft.Xna.Framework.Vector3 &jacobian ) : void

Gets the linear jacobian entry for the first connected entity.

GetLinearJacobianB ( Microsoft.Xna.Framework.Vector3 &jacobian ) : void

Gets the linear jacobian entry for the second connected entity.

GetMassMatrix ( float &outputMassMatrix ) : void

Gets the mass matrix of the constraint.

PointOnPlaneJoint ( ) : BEPUphysics.Entities

Constructs a new point on plane constraint. To finish the initialization, specify the connections (ConnectionA and ConnectionB) as well as the PlaneAnchor, PlaneNormal, and PointAnchor (or their entity-local versions). This constructor sets the constraint's IsActive property to false by default.

PointOnPlaneJoint ( Entity connectionA, Entity connectionB, Microsoft.Xna.Framework.Vector3 planeAnchor, Microsoft.Xna.Framework.Vector3 normal, Microsoft.Xna.Framework.Vector3 pointAnchor ) : BEPUphysics.Entities

Constructs a new point on plane constraint.

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.

메소드 상세

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 ( Microsoft.Xna.Framework.Vector3 &jacobian ) : void
jacobian Microsoft.Xna.Framework.Vector3 Angular jacobian entry for the first connected entity.
리턴 void

GetAngularJacobianB() 공개 메소드

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

GetLinearJacobianA() 공개 메소드

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

GetLinearJacobianB() 공개 메소드

Gets the linear jacobian entry for the second connected entity.
public GetLinearJacobianB ( Microsoft.Xna.Framework.Vector3 &jacobian ) : void
jacobian Microsoft.Xna.Framework.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

PointOnPlaneJoint() 공개 메소드

Constructs a new point on plane constraint. To finish the initialization, specify the connections (ConnectionA and ConnectionB) as well as the PlaneAnchor, PlaneNormal, and PointAnchor (or their entity-local versions). This constructor sets the constraint's IsActive property to false by default.
public PointOnPlaneJoint ( ) : BEPUphysics.Entities
리턴 BEPUphysics.Entities

PointOnPlaneJoint() 공개 메소드

Constructs a new point on plane constraint.
public PointOnPlaneJoint ( Entity connectionA, Entity connectionB, Microsoft.Xna.Framework.Vector3 planeAnchor, Microsoft.Xna.Framework.Vector3 normal, Microsoft.Xna.Framework.Vector3 pointAnchor ) : BEPUphysics.Entities
connectionA BEPUphysics.Entities.Entity Entity to which the constraint's plane is attached.
connectionB BEPUphysics.Entities.Entity Entity to which the constraint's point is attached.
planeAnchor Microsoft.Xna.Framework.Vector3 A point on the plane.
normal Microsoft.Xna.Framework.Vector3 Direction, attached to the first connected entity, defining the plane's normal
pointAnchor Microsoft.Xna.Framework.Vector3 The point to constrain to the plane, attached to the second connected object.
리턴 BEPUphysics.Entities

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