C# Class BEPUphysics.Constraints.Collision.ContactFrictionConstraint

Computes the friction force for a contact when central friction cannot be used.
Inheritance: EntitySolverUpdateable
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
CleanUp ( ) : void

Cleans upt he friction constraint.

ContactFrictionConstraint ( ) : System

Constructs a new friction constraint.

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.

Setup ( ContactManifoldConstraint contactManifoldConstraint, ContactPenetrationConstraint penetrationConstraint ) : void

Configures the friction constraint for a new contact.

SolveIteration ( ) : float

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

Update ( float dt ) : void

Initializes the constraint for this frame.

Méthodes protégées

Méthode Description
CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void

Method Details

CleanUp() public méthode

Cleans upt he friction constraint.
public CleanUp ( ) : void
Résultat void

CollectInvolvedEntities() protected méthode

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

ContactFrictionConstraint() public méthode

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

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

Setup() public méthode

Configures the friction constraint for a new contact.
public Setup ( ContactManifoldConstraint contactManifoldConstraint, ContactPenetrationConstraint penetrationConstraint ) : void
contactManifoldConstraint ContactManifoldConstraint Manifold to which the constraint belongs.
penetrationConstraint ContactPenetrationConstraint Penetration constraint associated with this friction constraint.
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

Update() public méthode

Initializes the constraint for this frame.
public Update ( float dt ) : void
dt float Time since the last frame.
Résultat void