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

Method deactivate_physics_shell

ogsr_engine/xrGame/PhysicsShellHolder.cpp:200–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200void CPhysicsShellHolder::deactivate_physics_shell()
201{
202 CParticlesPlayer::DestroyParticles(); //удалить партиклы из ParticlePlayer
203
204 if (m_pPhysicsShell)
205 m_pPhysicsShell->Deactivate();
206 xr_delete(m_pPhysicsShell);
207}
208void CPhysicsShellHolder::PHSetMaterial(u16 m)
209{
210 if (m_pPhysicsShell)

Callers 1

in_shedule_UpdateMethod · 0.80

Calls 2

xr_deleteFunction · 0.85
DeactivateMethod · 0.45

Tested by

no test coverage detected