Fixed property setter in G6DOF joint
(cherry picked from commit 0d9b53ce5e
)
This commit is contained in:
parent
31260bb720
commit
ca2277f3f1
@ -675,7 +675,7 @@ float Generic6DOFJointSW::get_param(Vector3::Axis p_axis,PhysicsServer::G6DOFJoi
|
||||
} break;
|
||||
case PhysicsServer::G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT: {
|
||||
|
||||
return m_angularLimits[p_axis].m_maxLimitForce;
|
||||
return m_angularLimits[p_axis].m_maxMotorForce;
|
||||
|
||||
} break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user