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

Computes the forces necessary to keep two entities from going through each other at a contact point.
Наследование: EntitySolverUpdateable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CleanUp ( ) : void

Cleans up the constraint.

ContactPenetrationConstraint ( ) : BEPUphysics.Entities

Constructs a new penetration 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, Contact contact ) : void

Configures the penetration constraint.

SolveIteration ( ) : float

Computes and applies an impulse to keep the colliders from penetrating.

Update ( float dt ) : void

Performs the frame's configuration step.

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

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

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

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

Cleans up the constraint.
public CleanUp ( ) : void
Результат void

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

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

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

Constructs a new penetration constraint.
public ContactPenetrationConstraint ( ) : BEPUphysics.Entities
Результат BEPUphysics.Entities

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 penetration constraint.
public Setup ( ContactManifoldConstraint contactManifoldConstraint, Contact contact ) : void
contactManifoldConstraint ContactManifoldConstraint Owning manifold constraint.
contact BEPUphysics.CollisionTests.Contact Contact associated with the penetration constraint.
Результат void

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

Computes and applies an impulse to keep the colliders from penetrating.
public SolveIteration ( ) : float
Результат float

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

Performs the frame's configuration step.
public Update ( float dt ) : void
dt float Timestep duration.
Результат void