Difference between revisions of "GetObjectDimensions"

From GECK

(Created page with "{{Function |origin = JIP |summary = Returns either the length(X), width(Y) or height(Z) (in game units) of a physical game-object. |name = GetObjectDimensions |returnType...")
 
Line 22: Line 22:
 
==See Also==
 
==See Also==
 
[[Category:Functions_(JIP)]]
 
[[Category:Functions_(JIP)]]
 +
[[Category:Miscellaneous Functions (JIP)]]

Revision as of 15:34, 30 March 2015

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

ObjectRef.GetObjectDimensions X
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