C# Class BEPUphysics.Constraints.TwoEntity.Joints.PointOnPlaneJoint

Constrains a point on one body to be on a plane defined by another body.
Inheritance: BEPUphysics.Constraints.TwoEntity.Joints.Joint, I1DImpulseConstraintWithError, I1DJacobianConstraint
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

ExclusiveUpdate() public méthode

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
Résultat void

GetAngularJacobianA() public méthode

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.
Résultat void

GetAngularJacobianB() public méthode

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.
Résultat void

GetLinearJacobianA() public méthode

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.
Résultat void

GetLinearJacobianB() public méthode

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.
Résultat void

GetMassMatrix() public méthode

Gets the mass matrix of the constraint.
public GetMassMatrix ( float &outputMassMatrix ) : void
outputMassMatrix float Constraint's mass matrix.
Résultat void

PointOnPlaneJoint() public méthode

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
Résultat BEPUphysics.Entities

PointOnPlaneJoint() public méthode

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.
Résultat BEPUphysics.Entities

SolveIteration() public méthode

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

Update() public méthode

Performs the frame's configuration step.
public Update ( float dt ) : void
dt float Timestep duration.
Résultat void