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

Method AffectPullDead

ogsr_engine/xrGame/GraviZone.cpp:201–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 EA->character_physics_support()->movement()->AddControlVel(vel);
200}
201void CBaseGraviZone ::AffectPullDead(CPhysicsShellHolder* GO, const Fvector& throw_in_dir, float dist)
202{
203 GO->PPhysicsShell()->applyImpulse(throw_in_dir, dist * m_fThrowInImpulse * GO->GetMass() / 100.f);
204}
205void CBaseGraviZone ::AffectThrow(SZoneObjectInfo* O, CPhysicsShellHolder* GO, const Fvector& throw_in_dir, float dist)
206{
207 Fvector position_in_bone_space;

Callers

nothing calls this directly

Calls 2

applyImpulseMethod · 0.45
GetMassMethod · 0.45

Tested by

no test coverage detected