vectorUp: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "[[Image:" to "[[File:") |
BrettMayson (talk | contribs) No edit summary |
||
| Line 29: | Line 29: | ||
|p1= object: [[Object]] | |p1= object: [[Object]] | ||
|r1= | |r1= [[Vector3D]] | ||
|x1= <sqf>_vecUp = vectorUp MyObject;</sqf> | |x1= <sqf>_vecUp = vectorUp MyObject;</sqf> | ||
Latest revision as of 07:33, 2 January 2026
Description
- Description:
-
Returns an object's up vector in world space.
- Groups:
- Math - Vectors
Syntax
Examples
- Example 1:
Additional Information
- See also:
- vectorUpVisual vectorDir vectorSide vectorSideVisual setVectorDir setVectorUp setVectorDirAndUp vectorDiff vectorAdd vectorMultiply vectorCrossProduct vectorDistance vectorMagnitudeSqr vectorDistanceSqr vectorCos vectorMagnitude vectorDotProduct vectorNormalized vectorFromTo BIS_fnc_getPitchBank BIS_fnc_transformVectorDirAndUp
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Math - Vectors