MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / UpdateCL

Method UpdateCL

ogsr_engine/xrGame/PhysicObject.cpp:137–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 CPHSkeleton::Update(dt);
136}
137void 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}
152void CPhysicObject::PHObjectPositionUpdate()
153{
154 if (m_pPhysicsShell)

Callers

nothing calls this directly

Calls 2

PPhysicsShellAnimatorMethod · 0.80
OnFrameMethod · 0.45

Tested by

no test coverage detected