NiAVObjectGetCollisionObject

From the Oblivion ConstructionSet Wiki
Revision as of 00:05, 21 January 2011 by imported>DragoonWraith
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(short:collID) NiAVObjectGetCollisionObject short:nifID short:blockID
(short:collID) NiAVObjGetCollObj short:nifID short:blockID

Gets the NiCollisionObject-derived block used as the collision object of the NiAVObject-derived specified by the passed blockID. Returns the NiCollisionObject's blockID if successful, -1 otherwise.

See Also