RigidBody.Mode/mode - multiple declarations

Function RigidBody.mode

The body mode. See mode for possible values.

RigidBody.Mode mode() nothrow @property @nogc;

void mode (
  long v
) nothrow @property @nogc;

Enum RigidBody.Mode

enum Mode : int { ... }

Enum members

NameDescription
modeCharacter Character body mode. This behaves like a rigid body, but can not rotate.
modeKinematic Kinematic body mode. The body behaves like a KinematicBody, and can only move by user code.
modeRigid Rigid body mode. This is the "natural" state of a rigid body. It is affected by forces, and can move, rotate, and be affected by user code.
modeStatic Static mode. The body behaves like a StaticBody, and can only move by user code.