(force float64)
| 269 | } |
| 270 | |
| 271 | func (joint *B2MotorJoint) SetMaxForce(force float64) { |
| 272 | B2Assert(B2IsValid(force) && force >= 0.0) |
| 273 | joint.M_maxForce = force |
| 274 | } |
| 275 | |
| 276 | func (joint B2MotorJoint) GetMaxForce() float64 { |
| 277 | return joint.M_maxForce |