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

Method PHGetLinearVell

ogsr_engine/xrGame/CharacterPhysicsSupport.cpp:845–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843}
844
845void CCharacterPhysicsSupport::PHGetLinearVell(Fvector& velocity)
846{
847 if (m_pPhysicsShell && m_pPhysicsShell->isActive())
848 {
849 m_pPhysicsShell->get_LinearVel(velocity);
850 }
851 else
852 movement()->GetCharacterVelocity(velocity);
853}
854
855void CCharacterPhysicsSupport::CreateIKController()
856{

Callers

nothing calls this directly

Calls 3

GetCharacterVelocityMethod · 0.80
isActiveMethod · 0.45
get_LinearVelMethod · 0.45

Tested by

no test coverage detected