GetObjectDimensions

From GECK

Revision as of 01:36, 29 March 2017 by Jazzisparis (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A function added by the JIP NVSE Plugin.

Description

Returns either the length(X), width(Y) or height(Z) (in game units) of a physical game-object.

Syntax

(dimension:float) reference.GetObjectDimensions axis:X/Y/Z baseForm:ref

Example

set fDimX to objectRef.GetObjectDimensions X
set fDimZ to GetObjectDimensions Z NukaVendingMachine

Notes

  • The dimensions are the same as those of the bounding-box encapsulating the object, in the GECK.

See Also

Personal tools