| 135 | CPHSkeleton::Update(dt); |
| 136 | } |
| 137 | void CPhysicObject::UpdateCL() |
| 138 | { |
| 139 | inherited::UpdateCL(); |
| 140 | |
| 141 | #ifdef ANIMATED_PHYSICS_OBJECT_SUPPORT |
| 142 | //Если наш физический объект анимированный, то |
| 143 | //двигаем объект за анимацией |
| 144 | if (m_pPhysicsShell->PPhysicsShellAnimator()) |
| 145 | { |
| 146 | m_pPhysicsShell->PPhysicsShellAnimator()->OnFrame(); |
| 147 | } |
| 148 | #endif |
| 149 | |
| 150 | PHObjectPositionUpdate(); |
| 151 | } |
| 152 | void CPhysicObject::PHObjectPositionUpdate() |
| 153 | { |
| 154 | if (m_pPhysicsShell) |
nothing calls this directly
no test coverage detected