diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-08-24 17:10:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 17:10:54 +0200 |
commit | 77185aaf21f6235dd7aab664d191e149390ad5ee (patch) | |
tree | 1ff00591675f4183d7414d1bd5d28d5c37fc74ba /modules/bullet/bullet_physics_server.cpp | |
parent | 0b67d1665d94f91069e9163087f51c632d5b4d1d (diff) | |
parent | b5480634c36bcc2375b1f0fc8fa58b5a5cc357c0 (diff) | |
download | redot-engine-77185aaf21f6235dd7aab664d191e149390ad5ee.tar.gz |
Merge pull request #21049 from AndreaCatania/joints
Improved 6DOF joint implementation
Diffstat (limited to 'modules/bullet/bullet_physics_server.cpp')
-rw-r--r-- | modules/bullet/bullet_physics_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bullet/bullet_physics_server.cpp b/modules/bullet/bullet_physics_server.cpp index 3a2cd3b2f1..dbd27a3564 100644 --- a/modules/bullet/bullet_physics_server.cpp +++ b/modules/bullet/bullet_physics_server.cpp @@ -1441,7 +1441,7 @@ RID BulletPhysicsServer::joint_create_generic_6dof(RID p_body_A, const Transform ERR_FAIL_COND_V(body_A == body_B, RID()); - JointBullet *joint = bulletnew(Generic6DOFJointBullet(body_A, body_B, p_local_frame_A, p_local_frame_B, true)); + JointBullet *joint = bulletnew(Generic6DOFJointBullet(body_A, body_B, p_local_frame_A, p_local_frame_B)); AddJointToSpace(body_A, joint); CreateThenReturnRID(joint_owner, joint); |