C# Class BEPUphysics.Constraints.Collision.TwistFrictionConstraint

Computes the forces necessary to slow down and stop twisting motion in a collision between two entities.
Inheritance: EntitySolverUpdateable
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.

SolveIteration ( ) : float

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

TwistFrictionConstraint ( ) : System

Constructs a new twist friction constraint.

Update ( float dt ) : void

Performs the frame's configuration step.

Méthodes protégées

Méthode Description
CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void

Private Methods

Méthode Description
CleanUp ( ) : void
Setup ( ConvexContactManifoldConstraint contactManifoldConstraint ) : void

Method Details

CollectInvolvedEntities() protected méthode

protected CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void
outputInvolvedEntities RawList
Résultat void

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

SolveIteration() public méthode

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

TwistFrictionConstraint() public méthode

Constructs a new twist friction constraint.
public TwistFrictionConstraint ( ) : System
Résultat System

Update() public méthode

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