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

Method getForce

ogsr_engine/xrGame/PHCharacter.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 CPHObject::UnFreezeContent();
41}
42void CPHCharacter::getForce(Fvector& force)
43{
44 if (!b_exist)
45 return;
46 force.set(*(Fvector*)dBodyGetForce(m_body));
47}
48void CPHCharacter::setForce(const Fvector& force)
49{
50 if (!b_exist)

Callers

nothing calls this directly

Calls 2

dBodyGetForceFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected