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

Collision constraint for non-convex manifolds. These manifolds are usually used in cases where the contacts are coming from multiple objects or from non-convex objects. The normals will likely face more than one direction.
Наследование: ContactManifoldConstraint
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddContact ( Contact contact ) : void

Adds a contact to be managed by the constraint.

CleanUp ( ) : void

Cleans up the 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.

NonConvexContactManifoldConstraint ( ) : BEPUphysics.CollisionTests

Constructs a new nonconvex manifold constraint.

RemoveContact ( Contact contact ) : void

Removes a contact from the 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.

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

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

Adds a contact to be managed by the constraint.
public AddContact ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact Contact to add.
Результат void

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

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

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 final ExclusiveUpdate ( ) : void
Результат void

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

Constructs a new nonconvex manifold constraint.
public NonConvexContactManifoldConstraint ( ) : BEPUphysics.CollisionTests
Результат BEPUphysics.CollisionTests

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

Removes a contact from the constraint.
public RemoveContact ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact Contact to remove.
Результат void

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

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

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

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