vectorUpVisual: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|1.32 | |1.32 | ||
|arg= global | |arg= global | ||
|gr1= Math - Vectors | |gr1= Math - Vectors | ||
|gr2= Render Time Scope | |gr2= Render Time Scope | ||
| Return object's up vector in world [[Position]] coordinates ( [x, y, z] ) in render time scope. | | Return object's up vector in world [[Position]] coordinates ( [x, y, z] ) in render time scope. | ||
| '''vectorUpVisual''' objectName | | '''vectorUpVisual''' objectName | ||
|p1= objectName: [[Object]] | |p1= objectName: [[Object]] | ||
| [[Array]] - format [[Position]] | | [[Array]] - format [[Position]] | ||
|x1= <code>_vUp = [[vectorUpVisual]] [[vehicle]] [[player]];</code> | |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]] | | [[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
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