RigidBody2D.Mode

Values

ValueMeaning
modeRigid0

Rigid mode. The body behaves as a physical object. It collides with other bodies and responds to forces applied to it. This is the default mode.

modeStatic1

Static mode. The body behaves like a StaticBody2D and does not move.

modeCharacter2

Character mode. Similar to MODE_RIGID, but the body can not rotate.

modeKinematic3

Kinematic mode. The body behaves like a KinematicBody2D, and must be moved by code.

Meta