vectorUpVisual: 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 - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3
|1.32|Game version=
|1.32
|arg= global|Multiplayer Arguments=
|arg= global


|gr1= Math - Vectors |GROUP1=
|gr1= Math - Vectors
|gr2= Render Time Scope |GROUP2=
|gr2= Render Time Scope


| Return object's up vector in world [[Position]] coordinates ( [x, y, z] ) in render time scope. |DESCRIPTION=
| Return object's up vector in world [[Position]] coordinates ( [x, y, z] ) in render time scope.


| '''vectorUpVisual''' objectName |SYNTAX=
| '''vectorUpVisual''' objectName


|p1=  objectName: [[Object]] |PARAMETER1=
|p1=  objectName: [[Object]]


| [[Array]] - format [[Position]] |RETURNVALUE=
| [[Array]] - format [[Position]]
   
   
|x1= <code>_vUp = [[vectorUpVisual]] [[vehicle]] [[player]];</code> |EXAMPLE1=
|x1= <code>_vUp = [[vectorUpVisual]] [[vehicle]] [[player]];</code>




| [[vectorUp]], [[vectorDirVisual]], [[vectorDir]], [[setVectorDir]], [[setVectorUp]], [[setVectorDirAndUp]], [[vectorDiff]], [[vectorAdd]], [[vectorMultiply]], [[vectorCrossProduct]], [[vectorDistance]], [[vectorMagnitudeSqr]], [[vectorDistanceSqr]], [[vectorCos]], [[vectorMagnitude]], [[vectorDotProduct]], [[vectorNormalized]], [[vectorFromTo]] |SEEALSO=
| [[vectorUp]], [[vectorDirVisual]], [[vectorDir]], [[setVectorDir]], [[setVectorUp]], [[setVectorDirAndUp]], [[vectorDiff]], [[vectorAdd]], [[vectorMultiply]], [[vectorCrossProduct]], [[vectorDistance]], [[vectorMagnitudeSqr]], [[vectorDistanceSqr]], [[vectorCos]], [[vectorMagnitude]], [[vectorDotProduct]], [[vectorNormalized]], [[vectorFromTo]]


}}
}}

Revision as of 11:41, 18 January 2021

Hover & click on the images for description

Description

Description:
Return object's up vector in world Position coordinates ( [x, y, z] ) in render time scope.
Groups:
Math - VectorsRender Time Scope

Syntax

Syntax:
vectorUpVisual objectName
Parameters:
objectName: Object
Return Value:
Array - format Position

Examples

Example 1:
_vUp = vectorUpVisual vehicle player;

Additional Information

See also:
vectorUpvectorDirVisualvectorDirsetVectorDirsetVectorUpsetVectorDirAndUpvectorDiffvectorAddvectorMultiplyvectorCrossProductvectorDistancevectorMagnitudeSqrvectorDistanceSqrvectorCosvectorMagnitudevectorDotProductvectorNormalizedvectorFromTo

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

Notes