From 5dee44bbc13605348b65bc74878a5a8be2b50cbd Mon Sep 17 00:00:00 2001 From: AndreaCatania Date: Sun, 10 Dec 2017 17:21:14 +0100 Subject: Implemented physics linear and angular lock --- modules/bullet/bullet_physics_server.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/bullet/bullet_physics_server.h') diff --git a/modules/bullet/bullet_physics_server.h b/modules/bullet/bullet_physics_server.h index ed5acb9041..8a10c87fc6 100644 --- a/modules/bullet/bullet_physics_server.h +++ b/modules/bullet/bullet_physics_server.h @@ -226,8 +226,8 @@ public: virtual void body_apply_torque_impulse(RID p_body, const Vector3 &p_impulse); virtual void body_set_axis_velocity(RID p_body, const Vector3 &p_axis_velocity); - virtual void body_set_axis_lock(RID p_body, int axis, bool p_lock); - virtual bool body_get_axis_lock(RID p_body) const; + virtual void body_set_axis_lock(RID p_body, BodyAxis p_axis, bool p_lock); + virtual bool body_is_axis_locked(RID p_body, BodyAxis p_axis) const; virtual void body_add_collision_exception(RID p_body, RID p_body_b); virtual void body_remove_collision_exception(RID p_body, RID p_body_b); -- cgit v1.2.3