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