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

Function AddBodyImpulse

sources/game/ScriptFuncs.cpp:1337–1366  ·  view source on GitHub ↗

* Adds an impule (a change in velocity) 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 velocity in the x direction. (in m/s) * \param afY velocity in the y direction. (in m/s) * \param afZ velocity in the z direction. (in m/s) **/

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
AddImpulseMethod · 0.80
GetRotationMethod · 0.80
GetBodyMethod · 0.45
GetWorld3DMethod · 0.45

Tested by

no test coverage detected