modelToWorldVisualWorld: Difference between revisions
Jump to navigation
Jump to search
(typo) |
Lou Montana (talk | contribs) m (Text replacement - "{{Command|=" to "{{Command|Comments=") |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |||
|1.70| | |arma3|= Game | ||
|arg= | | |1.70|Game Version= | ||
|eff= | | |arg= |Multiplayer Arguments= | ||
|eff= |Multiplayer Effects= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Converts position from object model space to world space in render time. |= | |||
| Converts position from object model space to world space in render time. |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| obj '''modelToWorldVisualWorld''' modelPos |= | |||
|p1= obj: [[Object]] | | obj '''modelToWorldVisualWorld''' modelPos |SYNTAX= | ||
|p2= modelPos: [[Array]] | |p1= obj: [[Object]] |PARAMETER1= | ||
| | |p2= modelPos: [[Array]] |PARAMETER2= | ||
| [[Array]] - World position in format [[PositionASL]] |RETURNVALUE= | |||
| | |||
|x1= <code>[[player]] [[modelToWorldVisualWorld]] [0,1,0]</code> |EXAMPLE1= | |||
| [[modelToWorldWorld]], [[modelToWorldVisual]], [[getPosWorldVisual]] |SEEALSO= | |||
| [[modelToWorldWorld]] |= | |||
}} | }} | ||
Line 33: | Line 36: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
<!-- Appropriate categories go here --> | <!-- Appropriate categories go here --> | ||
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Render Time Scope Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on May 28, 2017 - 22:19 (UTC)</dd> | |||
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt> | |||
<dd class="note"> | |||
This command produces identical result to [[modelToWorldVisual]] command used in conjunction with [[AGLToASL]] | |||
<code>obj [[modelToWorldVisualWorld]] [1,2,3] [[isEqualTo]] [[AGLToASL]] (obj [[modelToWorldVisual]] [1,2,3]); // true</code> | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 23:32, 2 September 2019
Description
- Description:
- Converts position from object model space to world space in render time.
- Groups:
- Uncategorised
Syntax
- Syntax:
- obj modelToWorldVisualWorld modelPos
- Parameters:
- obj: Object
- modelPos: Array
- Return Value:
- Array - World position in format PositionASL
Examples
- Example 1:
player modelToWorldVisualWorld [0,1,0]
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
Bottom Section
- Posted on May 28, 2017 - 22:19 (UTC)
- Killzone Kid
-
This command produces identical result to modelToWorldVisual command used in conjunction with AGLToASL
obj modelToWorldVisualWorld [1,2,3] isEqualTo AGLToASL (obj modelToWorldVisual [1,2,3]); // true