C# Класс BEPUphysics.Constraints.TwoEntity.Motors.LinearAxisMotor

Constrains anchors on two entities to move relative to each other on a line.
Наследование: BEPUphysics.Constraints.TwoEntity.Motors.Motor, 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 ( 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.

LinearAxisMotor ( ) : System

Constrains anchors on two entities to move relative to each other on a line. To finish the initialization, specify the connections (ConnectionA and ConnectionB) as well as the AnchorA, AnchorB and the Axis (or their entity-local versions). This constructor sets the constraint's IsActive property to false by default.

LinearAxisMotor ( Entity connectionA, Entity connectionB, System.Vector3 anchorA, System.Vector3 anchorB, System.Vector3 axis ) : System

Constrains anchors on two entities to move relative to each other on a line.

SolveIteration ( ) : float

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

Update ( float dt ) : 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 ( 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

LinearAxisMotor() публичный Метод

Constrains anchors on two entities to move relative to each other on a line. To finish the initialization, specify the connections (ConnectionA and ConnectionB) as well as the AnchorA, AnchorB and the Axis (or their entity-local versions). This constructor sets the constraint's IsActive property to false by default.
public LinearAxisMotor ( ) : System
Результат System

LinearAxisMotor() публичный Метод

Constrains anchors on two entities to move relative to each other on a line.
public LinearAxisMotor ( Entity connectionA, Entity connectionB, System.Vector3 anchorA, System.Vector3 anchorB, System.Vector3 axis ) : System
connectionA Entity First connection of the pair.
connectionB Entity Second connection of the pair.
anchorA System.Vector3 World space point to attach to connection A that will be constrained.
anchorB System.Vector3 World space point to attach to connection B that will be constrained.
axis System.Vector3 Limited axis in world space to attach to connection A.
Результат System

SolveIteration() публичный Метод

Computes one iteration of the constraint to meet the solver updateable's goal.
public SolveIteration ( ) : float
Результат float

Update() публичный Метод

public Update ( float dt ) : void
dt float
Результат void