summaryrefslogtreecommitdiffstats
path: root/modules/bullet/bullet_physics_server.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-08-24 17:10:54 +0200
committerGitHub <noreply@github.com>2018-08-24 17:10:54 +0200
commit77185aaf21f6235dd7aab664d191e149390ad5ee (patch)
tree1ff00591675f4183d7414d1bd5d28d5c37fc74ba /modules/bullet/bullet_physics_server.cpp
parent0b67d1665d94f91069e9163087f51c632d5b4d1d (diff)
parentb5480634c36bcc2375b1f0fc8fa58b5a5cc357c0 (diff)
downloadredot-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.cpp2
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);