(torque float64)
| 278 | } |
| 279 | |
| 280 | func (joint *B2MotorJoint) SetMaxTorque(torque float64) { |
| 281 | B2Assert(B2IsValid(torque) && torque >= 0.0) |
| 282 | joint.M_maxTorque = torque |
| 283 | } |
| 284 | |
| 285 | func (joint B2MotorJoint) GetMaxTorque() float64 { |
| 286 | return joint.M_maxTorque |