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

Method applyForce

ogsr_engine/xrGame/PHElement.cpp:1088–1091  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1086}
1087
1088void CPHElement::applyForce(const Fvector& dir, float val) // aux
1089{
1090 applyForce(dir.x * val, dir.y * val, dir.z * val);
1091}
1092void CPHElement::applyForce(float x, float y, float z) // called anywhere ph state influent
1093{
1094 VERIFY(_valid(x) && _valid(y) && _valid(z));

Callers

nothing calls this directly

Calls 8

dBodyIsEnabledFunction · 0.85
dBodyEnableFunction · 0.85
dBodyAddForceFunction · 0.85
BodyCutForceFunction · 0.85
dBodyStateValideFunction · 0.85
_validFunction · 0.50
testMethod · 0.45
EnableObjectMethod · 0.45

Tested by

no test coverage detected