C# Class BEPUphysics.CollisionTests.CollisionAlgorithms.GeneralConvexPairTester

Tests convex shapes against other convex shapes for contact generation.
Mostra file Open project: Indiefreaks/igf Class Usage Examples

Public Properties

Property Type Description
UseSimplexCaching bool

Protected Properties

Property Type Description
collidableA BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable
collidableB BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable

Public Methods

Method Description
CleanUp ( ) : void

Cleans up the pair tester.

GenerateContactCandidate ( ContactData &contact ) : bool

Generates a contact between the objects, if possible.

Initialize ( Collidable shapeA, Collidable shapeB ) : void

Initializes the pair tester.

Private Methods

Method Description
DoDeepContact ( ContactData &contact ) : bool
DoShallowContact ( ContactData &contact ) : bool

Method Details

CleanUp() public method

Cleans up the pair tester.
public CleanUp ( ) : void
return void

GenerateContactCandidate() public method

Generates a contact between the objects, if possible.
public GenerateContactCandidate ( ContactData &contact ) : bool
contact ContactData Contact created between the pair, if possible.
return bool

Initialize() public method

Initializes the pair tester.
public Initialize ( Collidable shapeA, Collidable shapeB ) : void
shapeA BEPUphysics.BroadPhaseEntries.Collidable First shape in the pair.
shapeB BEPUphysics.BroadPhaseEntries.Collidable Second shape in the pair.
return void

Property Details

UseSimplexCaching public_oe static_oe property

Whether or not to use simplex caching in general case convex-convex collisions. This will improve performance in simulations relying on the general case system, but may decrease quality of behavior for curved shapes.
public static bool UseSimplexCaching
return bool

collidableA protected_oe property

protected ConvexCollidable,BEPUphysics.BroadPhaseEntries.MobileCollidables collidableA
return BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable

collidableB protected_oe property

protected ConvexCollidable,BEPUphysics.BroadPhaseEntries.MobileCollidables collidableB
return BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable