Function; setTargetBox
Sastrei edited this page Dec 16, 2020
·
4 revisions
setTargetBox(<rShipTable>, <iIndex>, <fXmin>, <fYmin>, <fZmin>, <fXmax>, <fYmax>, <fZmax>)
setTargetBox(NewShipType, 0, -0.4,-0.7,-0.7, 0.4,0.7,0.4)
-
<rShipTable>: Reference to the ship; this should be
NewShipType
. - <iIndex>: Index of the TargetBox; starts at 0. Up to eight target boxes per ship.
- <fXmin>:
- <fYmin>:
- <fZmin>:
- <fXmax>:
- <fYmax>:
- <fZmax>:
- Dimensions range from -1 to 1 proportional to the bounding box of the collision mesh.
- setTargetBox could greatly benefit big ships with complex shapes
Updated Formatting? Yes
Updated for HWRM? Yes
| Home | Search | Recent Changes | Revision History | About | User Help | Contributor Help | Discussion |