worldToModel: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 23: | Line 23: | ||
|x3= <code>_relPos = car [[worldToModel]] [12000,5000]; </code> | |x3= <code>_relPos = car [[worldToModel]] [12000,5000]; </code> | ||
| [[worldToModelVisual]], [[vectorWorldToModel]], [[modelToWorld]] | |seealso= [[worldToModelVisual]], [[vectorWorldToModel]], [[modelToWorld]] | ||
}} | }} | ||
Revision as of 00:13, 17 February 2021
Description
- Description:
- Description needed
- Groups:
- Positions
Syntax
- Syntax:
- Syntax needed
- Parameters:
- model: Object
- position: Array - world position, format PositionAGL or Position2D
- Return Value:
- Return value needed
Examples
- Example 1:
_relPos = myObject worldToModel [0,0,0];
- Example 2:
_relPos = player worldToModel position car;
- Example 3:
_relPos = car worldToModel [12000,5000];
Additional Information
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