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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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