PhysicsEngineEnableCCD Method |
Enables continuous collision detection on the specified physics body.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic void EnableCCD(
PhysicsBody body,
double motionThreshold
)
Parameters
- body
- Type: Demo3D.VisualsPhysicsBody
The physics body. - motionThreshold
- Type: SystemDouble
The distance moved in a single timestep above which CCD is active (must be greater than zero).
See Also