Enum MotionType
Specifies how a rigid body participates in the simulation.
public enum MotionType
Fields
Dynamic = 0Fully simulated; responds to forces, impulses, contacts and constraints.
Kinematic = 1User-controlled body that is not affected by forces or collisions, but can affect dynamic bodies. Treated as having infinite mass in the solver. May have a non-zero velocity set by user code. Takes part in collision island building.
Static = 2Immovable body (zero velocity) treated as having infinite mass by the solver. The position and orientation may be changed directly by user code, which will update the broadphase and may affect contacts on the next step.