This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

NiAVObjectGetCollisionObject

From the Oblivion ConstructionSet Wiki
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[edit | edit source]