Difference between revisions of "NiAVObjectCopyCollisionObject"
Jump to navigation
Jump to search
imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (short:collID) NiAVObjectGetCollisionObject short:fromNifID short:fromBlockID short:toNifID ''short:toBlockID'' (short:col...) |
imported>DragoonWraith |
||
Line 16: | Line 16: | ||
[[Category:NifSE|AVObjectCopyCollisionObject]] | [[Category:NifSE|AVObjectCopyCollisionObject]] | ||
[[Category:NifSE (NiAVObject)|CopyCollisionObject]] | [[Category:NifSE (NiAVObject)|CopyCollisionObject]] | ||
[[Category:NifSE (NiCollisionObject)|!AVObjectCopyCollisionObject]] |
Latest revision as of 00:05, 21 January 2011
This is a command from NifSE.
Syntax
(short:collID) NiAVObjectGetCollisionObject short:fromNifID short:fromBlockID short:toNifID short:toBlockID (short:collID) NiAVObjGetCollObj short:nifID short:blockID
Copies the NiCollisionObject-derived block specified by fromBlockID, and uses it as the collision object of the NiAVObject-derived block specified by toBlockID. The fromNifID and toNifID may be the same to copy a collision object from one part of a nif to another, or different to copy the collision object of one nif to another. Copies the entire branch, rather than just the NiCollisionObject. Returns the new NiCollisionObject's blockID if successful, -1 otherwise.