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

Method CreatePhysicsShell

ogsr_engine/xrGame/PhysicsSkeletonObject.cpp:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void CPhysicsSkeletonObject::CreatePhysicsShell(CSE_Abstract* e)
52{
53 CSE_PHSkeleton* po = smart_cast<CSE_PHSkeleton*>(e);
54 if (m_pPhysicsShell)
55 return;
56 if (!Visual())
57 return;
58 m_pPhysicsShell = P_build_Shell(this, !po->_flags.test(CSE_PHSkeleton::flActive));
59}
60
61void CPhysicsSkeletonObject::shedule_Update(u32 dt)
62{

Callers

nothing calls this directly

Calls 3

VisualFunction · 0.85
P_build_ShellFunction · 0.85
testMethod · 0.45

Tested by

no test coverage detected