vectorUpVisual: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) 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 04:23, 17 January 2021
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