summaryrefslogtreecommitdiff
path: root/modules/bullet/bullet_physics_server.h
diff options
context:
space:
mode:
authorEric Rybicki <stratos695@googlemail.com>2017-11-08 22:35:47 +0100
committerEric Rybicki <stratos695@googlemail.com>2017-11-10 22:33:54 +0100
commitbd5df841990e7410593d8aae5bee10bab16f6f43 (patch)
tree1d1d46e94a1ee19dcced55840975ab92b7101ad3 /modules/bullet/bullet_physics_server.h
parent19b1ff0fc5f7acce23176ad6c8752604357472f0 (diff)
Allow double-axis lock in RigidBody and KinematicBody
Diffstat (limited to 'modules/bullet/bullet_physics_server.h')
-rw-r--r--modules/bullet/bullet_physics_server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bullet/bullet_physics_server.h b/modules/bullet/bullet_physics_server.h
index ad8137ee2f..ed5acb9041 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, BodyAxisLock p_lock);
- virtual BodyAxisLock body_get_axis_lock(RID p_body) const;
+ 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_add_collision_exception(RID p_body, RID p_body_b);
virtual void body_remove_collision_exception(RID p_body, RID p_body_b);