GetMass - ObjectReference

Revision as of 16:26, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Returns the mass of this object in Havok.

SyntaxEdit

float Function GetMass() native

ParametersEdit

None.

Return ValueEdit

This object's mass in Havok.

ExamplesEdit

; Is this thing very heavy?
if (AnvilProperty.GetMass() > 2000)
  Debug.Trace("Wow, the anvil is heavy!")
endIf

See AlsoEdit