diff options
Diffstat (limited to 'scene/3d/physics_body.h')
-rw-r--r-- | scene/3d/physics_body.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/3d/physics_body.h b/scene/3d/physics_body.h index 0b7a389449..30a64c802f 100644 --- a/scene/3d/physics_body.h +++ b/scene/3d/physics_body.h @@ -125,7 +125,7 @@ private: Vector3 linear_velocity; Vector3 angular_velocity; - bool active; + bool sleeping; bool ccd; AxisLock axis_lock; @@ -216,8 +216,8 @@ public: void set_use_custom_integrator(bool p_enable); bool is_using_custom_integrator(); - void set_active(bool p_active); - bool is_active() const; + void set_sleeping(bool p_sleeping); + bool is_sleeping() const; void set_can_sleep(bool p_active); bool is_able_to_sleep() const; |