enum

Godot::PhysicsServer2D::BodyState

Inherits Enum < Comparable < Value < Object

Constants

BodyStateTransform = 0_i64
BodyStateLinearVelocity = 1_i64
BodyStateAngularVelocity = 2_i64
BodyStateSleeping = 3_i64
BodyStateCanSleep = 4_i64

Instance methods

body_state_angular_velocity?

Returns true if this enum value equals BodyStateAngularVelocity

Source
body_state_can_sleep?

Returns true if this enum value equals BodyStateCanSleep

Source
body_state_linear_velocity?

Returns true if this enum value equals BodyStateLinearVelocity

Source
body_state_sleeping?

Returns true if this enum value equals BodyStateSleeping

Source
body_state_transform?

Returns true if this enum value equals BodyStateTransform

Source