| 188 | } |
| 189 | |
| 190 | void CPhysicsShellHolder::setup_physic_shell() |
| 191 | { |
| 192 | VERIFY(!m_pPhysicsShell); |
| 193 | create_physic_shell(); |
| 194 | m_pPhysicsShell->Activate(XFORM(), 0, XFORM()); |
| 195 | smart_cast<IKinematics*>(Visual())->CalculateBones_Invalidate(); |
| 196 | smart_cast<IKinematics*>(Visual())->CalculateBones(); |
| 197 | m_pPhysicsShell->GetGlobalTransformDynamic(&XFORM()); |
| 198 | } |
| 199 | |
| 200 | void CPhysicsShellHolder::deactivate_physics_shell() |
| 201 | { |
nothing calls this directly
no test coverage detected