Values

Rigid

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.

Static

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

Character

Character mode. Similar to godot.RigidBody2D_ModeEnum.rigid, but the body can not rotate.

Kinematic

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