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
Datei anzeigen Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method Description
CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void

Private Methods

Method Description
CleanUp ( ) : void
Setup ( ConvexContactManifoldConstraint contactManifoldConstraint ) : void

Method Details

CollectInvolvedEntities() protected method

protected CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void
outputInvolvedEntities RawList
return void

ExclusiveUpdate() public method

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
return void

SolveIteration() public method

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

TwistFrictionConstraint() public method

Constructs a new twist friction constraint.
public TwistFrictionConstraint ( ) : System
return System

Update() public method

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