| 295 | } |
| 296 | |
| 297 | void CCar::SDoor::ApplyCloseTorque() |
| 298 | { |
| 299 | if (!joint->bActive) |
| 300 | return; |
| 301 | joint->PSecond_element()->Enable(); |
| 302 | dJointSetHingeParam(joint->GetDJoint(), dParamFMax, torque); |
| 303 | dJointSetHingeParam(joint->GetDJoint(), dParamVel, -a_vel * pos_open); |
| 304 | } |
| 305 | |
| 306 | void CCar::SDoor::NeutralTorque(float atorque) |
| 307 | { |
nothing calls this directly
no test coverage detected