Description
Wiki Description
Returns the mass of this object in Havok.
Documentation Comment
Get this object's mass
Caveats
CK Wiki - Notes
- The object has to be controlled by Havok ("ragdolling") or this function will always return 0. Use PushActorAway and wait few miliseconds or ObjectReference.ForceAddRagdollToWorld() before querying for the object's mass.
Examples
; Is this thing very heavy?
if (AnvilProperty.GetMass() > 2000)
Debug.Trace("Wow, the anvil is heavy!")
endIfAuto-Generated Example
float returnedValue = myObjectReference__toCallFunctionOn.GetMass()