GetMass - ObjectReference

From the CreationKit Wiki
Revision as of 15:26, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Returns the mass of this object in Havok.

Syntax

float Function GetMass() native

Parameters

None.

Return Value

This object's mass in Havok.

Examples

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

See Also