modelToWorldVisualWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________


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


____________________________________________________________________________________________
|gr1= Object Manipulation
|gr2= Render Time Scope


| Converts position from object model space to world space in render time. |DESCRIPTION=
| Converts position from object model space to world space in render time.


____________________________________________________________________________________________
| obj '''modelToWorldVisualWorld''' modelPos
|p1= obj: [[Object]]
|p2= modelPos: [[Array]]
| [[Array]] - World position in format [[PositionASL]]


| obj '''modelToWorldVisualWorld''' modelPos |SYNTAX=
|x1= <code>[[player]] [[modelToWorldVisualWorld]] [0,1,0]</code>
|p1= obj: [[Object]] |PARAMETER1=
|p2= modelPos: [[Array]] |PARAMETER2=
| [[Array]] - World position in format [[PositionASL]] |RETURNVALUE=


|x1= <code>[[player]] [[modelToWorldVisualWorld]] [0,1,0]</code> |EXAMPLE1=
|seealso= [[modelToWorldWorld]], [[modelToWorldVisual]], [[getPosWorldVisual]]
 
| [[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 -->
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Render Time Scope 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 51: 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