You've already forked godot
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user