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

Method getForce

ogsr_engine/xrGame/PHElement.cpp:1051–1057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049}
1050
1051void CPHElement::getForce(Fvector& force)
1052{
1053 if (!isActive())
1054 return;
1055 force.set(*(Fvector*)dBodyGetForce(m_body));
1056 VERIFY(dBodyStateValide(m_body));
1057}
1058void CPHElement::getTorque(Fvector& torque)
1059{
1060 if (!isActive())

Callers

nothing calls this directly

Calls 3

dBodyGetForceFunction · 0.85
dBodyStateValideFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected