modelToWorldVisualWorld: Difference between revisions
BrettMayson (talk | contribs) No edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 20: | Line 20: | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|p2= modelPos: | |p2= modelPos: [[Position#PositionRelative|PositionRelative]] - [x,y,z] offset relative to the model centre | ||
|r1= [[Array]] format [[Position#PositionASL|PositionASL]] - translated world position (see [[getPosWorld]]) | |r1= [[Array]] format [[Position#PositionASL|PositionASL]] - translated world position (see [[getPosWorld]]) | ||
Revision as of 07:43, 2 January 2026
Description
- Description:
- Converts position from object model space to world space in render time scope. For the PositionAGL version see modelToWorldVisual.
- Groups:
- Object ManipulationRender Time Scope
Syntax
- Syntax:
- obj modelToWorldVisualWorld modelPos
- Parameters:
- obj: Object
- modelPos: PositionRelative - [x,y,z] offset relative to the model centre
- Return Value:
- Array format PositionASL - translated world position (see getPosWorld)
Examples
- Example 1:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note