modelToWorldVisualWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


|arma3|= Game
|arma3|= Game
|1.70|Game Version=
|1.70
|arg=  |Multiplayer Arguments=
|arg=
|eff=  |Multiplayer Effects=
|eff=


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation
|gr2= Render Time Scope |GROUP2=
|gr2= Render Time Scope


____________________________________________________________________________________________
| 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]]
|p2= modelPos: [[Array]]
| [[Array]] - World position in format [[PositionASL]]


____________________________________________________________________________________________
|x1= <code>[[player]] [[modelToWorldVisualWorld]] [0,1,0]</code>


| obj '''modelToWorldVisualWorld''' modelPos |SYNTAX=
|seealso= [[modelToWorldWorld]], [[modelToWorldVisual]], [[getPosWorldVisual]]
|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=
}}
}}
<dl class='command_description'>
<!-- BEGIN Note Section -->
<!-- For example:
<dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd>
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] Leave it here for others to read; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
<!-- Appropriate categories go here -->
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]




<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dt></dt>
<dd class="notedate">Posted on May 28, 2017 - 22:19 (UTC)</dd>
<dd class="notedate">Posted on May 28, 2017 - 22:19 (UTC)</dd>
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
Line 53: Line 31:
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 01:55, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object ManipulationRender Time Scope

Syntax

Syntax:
Syntax needed
Parameters:
obj: Object
modelPos: Array
Return Value:
Return value needed

Examples

Example 1:
player modelToWorldVisualWorld [0,1,0]

Additional Information

See also:
modelToWorldWorldmodelToWorldVisualgetPosWorldVisual

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 modelToWorldVisual command used in conjunction with AGLToASL obj modelToWorldVisualWorld [1,2,3] isEqualTo AGLToASL (obj modelToWorldVisual [1,2,3]); // true