C# Класс BEPUphysics.Constraints.Collision.ContactFrictionConstraint

Computes the friction force for a contact when central friction cannot be used.
Наследование: EntitySolverUpdateable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void

Описание методов

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

Cleans upt he friction constraint.
public CleanUp ( ) : void
Результат void

CollectInvolvedEntities() защищенный Метод

protected CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void
outputInvolvedEntities RawList
Результат void

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

Constructs a new friction constraint.
public ContactFrictionConstraint ( ) : System
Результат System

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

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

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.
Результат void

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

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

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

Initializes the constraint for this frame.
public Update ( float dt ) : void
dt float Time since the last frame.
Результат void