Enum PhysicsServer2D.BodyState
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum PhysicsServer2D.BodyState : long
Fields
AngularVelocity = 2
Constant to set/get the current angular velocity of the body.
CanSleep = 4
Constant to set/get whether the body can sleep.
LinearVelocity = 1
Constant to set/get the current linear velocity of the body.
Sleeping = 3
Constant to sleep/wake up a body, or to get whether it is sleeping.
Transform = 0
Constant to set/get the current transform matrix of the body.