Table of Contents

Enum MotionType

Namespace
Jitter2.Dynamics
Assembly
Jitter2.dll

Specifies how a rigid body participates in the simulation.

public enum MotionType

Fields

Dynamic = 0

Fully simulated; responds to forces, impulses, contacts and constraints.

Kinematic = 1

User-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 = 2

Immovable 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.