| 286 | dJointSetHingeParam(joint->GetDJoint(), dParamVel, aa_vel * pos_open); |
| 287 | } |
| 288 | void CCar::SDoor::ApplyOpenTorque() |
| 289 | { |
| 290 | if (!joint->bActive) |
| 291 | return; |
| 292 | joint->PSecond_element()->Enable(); |
| 293 | dJointSetHingeParam(joint->GetDJoint(), dParamFMax, torque); |
| 294 | dJointSetHingeParam(joint->GetDJoint(), dParamVel, a_vel * pos_open); |
| 295 | } |
| 296 | |
| 297 | void CCar::SDoor::ApplyCloseTorque() |
| 298 | { |
nothing calls this directly
no test coverage detected