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

Function SetBodyProperty

sources/game/ScriptFuncs.cpp:1137–1172  ·  view source on GitHub ↗

* Sets a property to the body. * Valid properties are: * "Mass" The mass of the body (in kg) * "CollideCharacter" 0 = false 1=true * \param asBodyName The body name * \param asProp The property to get * \param afVal The new value of the property **/

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

WarningFunction · 0.85
GetPhysicsWorldMethod · 0.80
c_strMethod · 0.80
SetLinearVelocityMethod · 0.80
SetAngularVelocityMethod · 0.80
GetBodyMethod · 0.45
GetWorld3DMethod · 0.45
SetMassMethod · 0.45
SetEnabledMethod · 0.45
SetCollideCharacterMethod · 0.45

Tested by

no test coverage detected