1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

Improved 6DOF joint implementation, and removed useless function from cone joint

This commit is contained in:
Andrea Catania
2018-08-15 18:14:32 +02:00
parent bbdb6cf16e
commit a12e3bab23
5 changed files with 13 additions and 74 deletions

View File

@@ -1419,7 +1419,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);