RigidBody2DModeEnum Enumeration |
[Missing <summary> documentation for "T:Godot.RigidBody2D.ModeEnum"]
Namespace: Godot
public enum ModeEnum
Member name | Value | Description | |
---|---|---|---|
Rigid | 0 | 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 | 1 | Static mode. The body behaves like a StaticBody2D and does not move. | |
Character | 2 | Character mode. Similar to , but the body can not rotate. | |
Kinematic | 3 | Kinematic mode. The body behaves like a KinematicBody2D, and must be moved by code. |