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

Method GetMass

ogsr_engine/xrGame/Actor.cpp:1744–1744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1742}
1743
1744float CActor::GetMass() { return g_Alive() ? character_physics_support()->movement()->GetMass() : m_pPhysicsShell ? m_pPhysicsShell->getMass() : 0; }
1745
1746bool CActor::is_on_ground() { return (character_physics_support()->movement()->Environment() != CPHMovementControl::peInAir); }
1747

Callers 8

AffectPullDeadMethod · 0.45
AffectThrowMethod · 0.45
switchGravityMethod · 0.45
AffectMethod · 0.45
AffectMethod · 0.45
AffectMethod · 0.45
death_glide_startMethod · 0.45
on_threaten_executeMethod · 0.45

Calls 4

g_AliveFunction · 0.85
movementMethod · 0.80
getMassMethod · 0.45

Tested by

no test coverage detected