Fixed property setter in G6DOF joint

(cherry picked from commit 0d9b53ce5e)
This commit is contained in:
m4nu3lf 2017-02-03 21:23:23 +00:00 committed by Rémi Verschelde
parent 31260bb720
commit ca2277f3f1

View File

@ -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;
}