Merge pull request #7715 from m4nu3lf/bugfix/g6dof_joint_setter
Fixed property setter in G6DOF joint
This commit is contained in:
commit
a73d46caa6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue