vectorWorldToModelVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " <dl class='command_description'> <!-- BEGIN Note Section --> <!-- For example: <dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd> <dt class='note'>'''User Name'''</dt> <dd class='note'>This is an ex...)
Line 23: Line 23:
| [[addForce]], [[worldToModelVisual]], [[addTorque]], [[vectorModelToWorld]], [[vectorModelToWorldVisual]], [[vectorWorldToModel]]
| [[addForce]], [[worldToModelVisual]], [[addTorque]], [[vectorModelToWorld]], [[vectorModelToWorldVisual]], [[vectorWorldToModel]]
}}
}}
<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>

Revision as of 21:54, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Math - VectorsRender Time Scope

Syntax

Syntax:
Syntax needed
Parameters:
object: Object
worldDir: Array - vector direction in world space in format [x,y,z]
Return Value:
Return value needed

Examples

Example 1:
Convert world space vector [0,-10,4] to model space of object _airplane: _airplane vectorWorldToModelVisual [0,-10,4];

Additional Information

See also:
See also needed

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