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

Method applyImpulseTrace

ogsr_engine/xrGame/PHShell.cpp:265–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 EnableObject(0);
264};
265void CPHShell::applyImpulseTrace(const Fvector& pos, const Fvector& dir, float val)
266{
267 if (!isActive())
268 return;
269 (*elements.begin())->applyImpulseTrace(pos, dir, val, 0);
270 EnableObject(0);
271}
272
273void CPHShell::applyImpulseTrace(const Fvector& pos, const Fvector& dir, float val, const u16 id)
274{

Callers 6

UpdateEnginePhMethod · 0.45
switchGravityMethod · 0.45
HitMethod · 0.45
BreakMethod · 0.45
ApplyExplosionMethod · 0.45
ExplosionHitMethod · 0.45

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected