C# Class BEPUphysics.CollisionTests.Manifolds.SphereContactManifold

Manages persistent contact data between two boxes.
Inheritance: BEPUphysics.CollisionTests.Manifolds.ContactManifold
Datei anzeigen Open project: Indiefreaks/igf

Protected Properties

Property Type Description
sphereA ConvexCollidable
sphereB ConvexCollidable

Public Methods

Method Description
CleanUp ( ) : void

Cleans up the manifold.

ClearContacts ( ) : void

Clears the contacts associated with this manifold.

Initialize ( Collidable newCollidableA, Collidable newCollidableB ) : void

Initializes the manifold.

SphereContactManifold ( ) : System

Constructs a new manifold.

Update ( float dt ) : void

Updates the manifold.

Protected Methods

Method Description
Add ( ContactData &contactCandidate ) : void
Remove ( int index ) : void

Method Details

Add() protected method

protected Add ( ContactData &contactCandidate ) : void
contactCandidate ContactData
return void

CleanUp() public method

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

ClearContacts() public method

Clears the contacts associated with this manifold.
public ClearContacts ( ) : void
return void

Initialize() public method

Initializes the manifold.
Thrown when the collidables being used are not of the proper type.
public Initialize ( Collidable newCollidableA, Collidable newCollidableB ) : void
newCollidableA BEPUphysics.BroadPhaseEntries.Collidable First collidable.
newCollidableB BEPUphysics.BroadPhaseEntries.Collidable Second collidable.
return void

Remove() protected method

protected Remove ( int index ) : void
index int
return void

SphereContactManifold() public method

Constructs a new manifold.
public SphereContactManifold ( ) : System
return System

Update() public method

Updates the manifold.
public Update ( float dt ) : void
dt float Timestep duration.
return void

Property Details

sphereA protected_oe property

protected ConvexCollidable sphereA
return ConvexCollidable

sphereB protected_oe property

protected ConvexCollidable sphereB
return ConvexCollidable