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

Method GetSavedVelocity

ogsr_engine/xrGame/PHCharacter.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115void CarHitCallback(bool& /**do_colide/**/, dContact& /**c/**/) {}
116
117void CPHCharacter::GetSavedVelocity(Fvector& vvel)
118{
119 if (IsEnabled())
120 vvel.set(m_safe_velocity);
121 else
122 GetVelocity(vvel);
123}
124
125void CPHCharacter::CutVelocity(float l_limit, float /*a_limit*/)
126{

Callers 1

CalculateMethod · 0.80

Calls 3

IsEnabledFunction · 0.85
GetVelocityFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected