vectorUp: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [[Array]] <nowiki>=</nowiki> '''vectorUp''' objectName |= Syntax
| [[Array]] <nowiki>=</nowiki> '''vectorUp''' objectName |SYNTAX=


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


| [[Array]] - format [[Position]] |= Return value
| [[Array]] - format [[Position]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>objVector = vectorUp myObject;
|x1= <code>objVector = vectorUp myObject;
</code>|EXAMPLE1=  
</code>|EXAMPLE1=  
| [[vectorUpVisual]], [[vectorDir]], [[setVectorDir]], [[setVectorUp]], [[setVectorDirAndUp]], [[vectorDiff]], [[vectorAdd]], [[vectorMultiply]], [[vectorCrossProduct]], [[vectorDistance]], [[vectorMagnitudeSqr]], [[vectorDistanceSqr]], [[vectorCos]], [[vectorMagnitude]], [[vectorDotProduct]], [[vectorNormalized]], [[vectorFromTo]]  |= See also
| [[vectorUpVisual]], [[vectorDir]], [[setVectorDir]], [[setVectorUp]], [[setVectorDirAndUp]], [[vectorDiff]], [[vectorAdd]], [[vectorMultiply]], [[vectorCrossProduct]], [[vectorDistance]], [[vectorMagnitudeSqr]], [[vectorDistanceSqr]], [[vectorCos]], [[vectorMagnitude]], [[vectorDotProduct]], [[vectorNormalized]], [[vectorFromTo]]  |SEEALSO=


}}
}}

Revision as of 14:51, 7 April 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Return object's up vector in world Position coordinates ( [x, y, z] ).
Groups:
Uncategorised

Syntax

Syntax:
Array = vectorUp objectName
Parameters:
objectName: Object
Return Value:
Array - format Position

Examples

Example 1:
objVector = vectorUp myObject;

Additional Information

See also:
vectorUpVisualvectorDirsetVectorDirsetVectorUpsetVectorDirAndUpvectorDiffvectorAddvectorMultiplyvectorCrossProductvectorDistancevectorMagnitudeSqrvectorDistanceSqrvectorCosvectorMagnitudevectorDotProductvectorNormalizedvectorFromTo

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

Posted on 28 Jun, 2014
ffur2007slx2_5
(ArmA3 1.22) Returns the pitch and bank of an object in degrees, use BIS_fnc_getPitchBank instead.

Bottom Section