vectorUpVisual: 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 - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:
|gr1= Math - Vectors |GROUP1=
|gr1= Math - Vectors |GROUP1=
|gr2= Render Time Scope |GROUP2=
|gr2= Render Time Scope |GROUP2=
____________________________________________________________________________________________


| 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. |DESCRIPTION=
____________________________________________________________________________________________


| '''vectorUpVisual''' objectName |SYNTAX=
| '''vectorUpVisual''' objectName |SYNTAX=
Line 18: Line 15:


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





Revision as of 05:23, 17 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

Bottom Section