enum PhysicsSimulationMode : System.Enum

book_4_sparkGenerated
code_blocksInput

Description

The PhysicsSimulationMode enum defines the modes of physics simulation available in the Sandbox environment. It is used to specify how collision detection is handled in the physics world, impacting both performance and accuracy.

Members

Fields

Member NameSummary
DiscreteDiscrete collision detection. In this mode, physics bodies can fly through thin walls when moving very quickly, but it has better performance.
ContinuousContinuous collision detection. This is the default mode.