modelToWorldVisualWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|arma3|= Game
|arma3|= Game
Line 8: Line 8:
|gr1= Object Manipulation
|gr1= Object Manipulation
|gr2= Render Time Scope
|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.


| obj '''modelToWorldVisualWorld''' modelPos
| obj '''modelToWorldVisualWorld''' modelPos
Line 20: Line 18:
|x1= <code>[[player]] [[modelToWorldVisualWorld]] [0,1,0]</code>
|x1= <code>[[player]] [[modelToWorldVisualWorld]] [0,1,0]</code>


| [[modelToWorldWorld]], [[modelToWorldVisual]], [[getPosWorldVisual]]
|seealso= [[modelToWorldWorld]], [[modelToWorldVisual]], [[getPosWorldVisual]]
}}
}}
<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>
{{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 49: 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