RigidBody.Mode/mode - multiple declarations
Function RigidBody.mode
The body mode. See mode
for possible values.
Enum RigidBody.Mode
enum Mode
: int { ... }
Enum members
Name | Description |
---|---|
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.
|