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