Physics2DServerBodyState Enumeration |
[Missing <summary> documentation for "T:Godot.Physics2DServer.BodyState"]
Namespace: Godot
public enum BodyState
Member name | Value | Description | |
---|---|---|---|
Transform | 0 | Constant to set/get the current transform matrix of the body. | |
LinearVelocity | 1 | Constant to set/get the current linear velocity of the body. | |
AngularVelocity | 2 | Constant to set/get the current angular velocity of the body. | |
Sleeping | 3 | Constant to sleep/wake up a body, or to get whether it is sleeping. | |
CanSleep | 4 | Constant to set/get whether the body can sleep. |