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

Function GetBodyProperty

sources/game/ScriptFuncs.cpp:1099–1123  ·  view source on GitHub ↗

* Gets a property from the body. * Valid properties are: * "Mass" The mass of the body (in kg) * "LinearSpeed" The linear speed the body has (in m/s) * "AngularSpeed" The angular speed the body has (in m/s) * \param asBodyName The body name * \param asProp The property to get **/

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

WarningFunction · 0.85
GetPhysicsWorldMethod · 0.80
c_strMethod · 0.80
LengthMethod · 0.80
GetLinearVelocityMethod · 0.80
GetBodyMethod · 0.45
GetWorld3DMethod · 0.45
GetMassMethod · 0.45
GetAngularVelocityMethod · 0.45

Tested by

no test coverage detected