C# Class BEPUphysics.Constraints.Collision.SlidingFrictionTwoAxis

Computes the forces to slow down and stop sliding motion between two entities when centralized friction is active.
Inheritance: EntitySolverUpdateable
Exibir arquivo 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.

SlidingFrictionTwoAxis ( ) : System

Constructs a new sliding friction 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.

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

SlidingFrictionTwoAxis() public method

Constructs a new sliding friction constraint.
public SlidingFrictionTwoAxis ( ) : System
return System

SolveIteration() public method

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

Update() public method

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