modelToWorldVisualWorld: Difference between revisions
BrettMayson (talk | contribs) mNo edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 22: | Line 22: | ||
|p2= modelPos: [[Position#PositionRelative|PositionRelative]] - [x,y,z] offset relative to the model centre | |p2= modelPos: [[Position#PositionRelative|PositionRelative]] - [x,y,z] offset relative to the model centre | ||
|r1= | |r1= [[Position#PositionASL|PositionASL]] - translated world position (see [[getPosWorld]]) | ||
|x1= <sqf>player modelToWorldVisualWorld [0,1,0];</sqf> | |x1= <sqf>player modelToWorldVisualWorld [0,1,0];</sqf> | ||
Latest revision as of 07:47, 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:
- 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