modelToWorldWorld: Difference between revisions
BrettMayson (talk | contribs) No edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 18: | Line 18: | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|p2= modelPos: | |p2= modelPos: [[Position#PositionRelative|PositionRelative]] | ||
|r1= [[Array]] format [[Position#PositionASL|PositionASL]] - '''the model's centre''' (see [[getPosWorld]]) | |r1= [[Array]] format [[Position#PositionASL|PositionASL]] - '''the model's centre''' (see [[getPosWorld]]) | ||
Revision as of 07:43, 2 January 2026
Description
- Description:
- Converts position from object model space to world space in PositionASL format from the object's centre position.
- Groups:
- Positions
Syntax
- Syntax:
- obj modelToWorldWorld modelPos
- Parameters:
- obj: Object
- modelPos: PositionRelative
- Return Value:
- Array format PositionASL - the model's centre (see getPosWorld)
Examples
- Example 1:
Additional Information
- See also:
- modelToWorldVisualWorld
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note