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
Mostrar archivo Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method 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 method

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

CleanUp() public method

Cleans up the constraint.
public CleanUp ( ) : void
return void

ConvexContactManifoldConstraint() public method

Constructs a new convex contact manifold constraint.
public ConvexContactManifoldConstraint ( ) : BEPUphysics.CollisionTests
return BEPUphysics.CollisionTests

ExclusiveUpdate() public final method

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
return void

RemoveContact() public method

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

SolveIteration() public final method

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

Update() public final method

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