MCPcopy Create free account
hub / github.com/FrictionalGames/HPL1Engine / AddBodyForce

Function AddBodyForce

sources/game/ScriptFuncs.cpp:1295–1324  ·  view source on GitHub ↗

* Adds a force to the body. This can either be in the bodies local coord system or the world's. * \param asBodyName The body name * \param asCoordType The coordinate system type. "World" or "Local". * \param afX force in the x direction. (in newton, kg*m/s^2) * \param afY force in the y direction. (in newton, kg*m/s^2) * \param afZ force in the z direction. (in newton, kg*m/s^2) **/

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

WarningFunction · 0.85
GetPhysicsWorldMethod · 0.80
c_strMethod · 0.80
GetRotationMethod · 0.80
GetBodyMethod · 0.45
GetWorld3DMethod · 0.45
AddForceMethod · 0.45

Tested by

no test coverage detected