Fixed property setter in G6DOF joint

This commit is contained in:
m4nu3lf 2017-02-03 21:23:23 +00:00
parent d2b2d6801f
commit 0d9b53ce5e

View file

@ -676,7 +676,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;
}