From 3c599ae744356d620c553f89ede42c708617d39b Mon Sep 17 00:00:00 2001 From: Jorrit Rouwe Date: Tue, 2 Jun 2026 21:26:16 +0200 Subject: [PATCH] Change ConeTwistJoint3D to use cone shaped limits This matches the behaviour in GodotPhysics3D. --- modules/jolt_physics/joints/jolt_cone_twist_joint_3d.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/jolt_physics/joints/jolt_cone_twist_joint_3d.cpp b/modules/jolt_physics/joints/jolt_cone_twist_joint_3d.cpp index 584cb5c72a..56fc1fd588 100644 --- a/modules/jolt_physics/joints/jolt_cone_twist_joint_3d.cpp +++ b/modules/jolt_physics/joints/jolt_cone_twist_joint_3d.cpp @@ -78,7 +78,6 @@ JPH::Constraint *JoltConeTwistJoint3D::_build_swing_twist(JPH::Body *p_jolt_body constraint_settings.mPosition2 = to_jolt_r(p_shifted_ref_b.origin); constraint_settings.mTwistAxis2 = to_jolt(p_shifted_ref_b.basis.get_column(Vector3::AXIS_X)); constraint_settings.mPlaneAxis2 = to_jolt(p_shifted_ref_b.basis.get_column(Vector3::AXIS_Z)); - constraint_settings.mSwingType = JPH::ESwingType::Pyramid; if (p_jolt_body_a == nullptr) { return constraint_settings.Create(JPH::Body::sFixedToWorld, *p_jolt_body_b);