C# Class BEPUphysics.Constraints.Collision.ConvexContactManifoldConstraint

Contact manifold constraint that is used by manifolds whose normals are assumed to be essentially the same. This assumption can only be maintained between two convex objects.
Inheritance: ContactManifoldConstraint
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
AddContact ( Contact contact ) : void

Adds a contact to be managed by the constraint.

CleanUp ( ) : void

Cleans up the constraint.

ConvexContactManifoldConstraint ( ) : BEPUphysics.CollisionTests

Constructs a new convex contact manifold 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.

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.

Method Details

AddContact() public méthode

Adds a contact to be managed by the constraint.
public AddContact ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact Contact to add.
Résultat void

CleanUp() public méthode

Cleans up the constraint.
public CleanUp ( ) : void
Résultat void

ConvexContactManifoldConstraint() public méthode

Constructs a new convex contact manifold constraint.
public ConvexContactManifoldConstraint ( ) : BEPUphysics.CollisionTests
Résultat BEPUphysics.CollisionTests

ExclusiveUpdate() public final 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 final ExclusiveUpdate ( ) : void
Résultat void

RemoveContact() public méthode

Removes a contact from the constraint.
public RemoveContact ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact Contact to remove.
Résultat void

SolveIteration() public final méthode

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

Update() public final méthode

Performs the frame's configuration step.
public final Update ( float dt ) : void
dt float Timestep duration.
Résultat void