modelToWorldWorld: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 8: | Line 8: | ||
| Converts position from object model space to world space (usable by [[setPosWorld]] for example). | | Converts position from object model space to world space (usable by [[setPosWorld]] for example). | ||
| obj [[modelToWorldWorld]] modelPos | |s1= obj [[modelToWorldWorld]] modelPos | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|p2= modelPos: [[Array]] | |p2= modelPos: [[Array]] |
Revision as of 23:14, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Positions
Syntax
- Syntax:
- obj modelToWorldWorld modelPos
- Parameters:
- obj: Object
- modelPos: Array
- Return Value:
- Array:
Examples
- Example 1:
player modelToWorldWorld [0,1,0]
Additional Information
- See also:
- modelToWorldVisualWorld
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on May 28, 2017 - 22:19 (UTC)
- Killzone Kid
-
This command produces identical result to modelToWorld command used in conjunction with AGLToASL
obj modelToWorldWorld [1,2,3] isEqualTo AGLToASL (obj modelToWorld [1,2,3]); // true