setVectorUp: Difference between revisions

From Bohemia Interactive Community
m (VBS2 scripting category removal)
(mass edit: removing obsolete </dt> and </dd> tags)
Line 36: Line 36:
--[[User:General Barron|General Barron]] 21:07, 3 March 2009 (CET)
--[[User:General Barron|General Barron]] 21:07, 3 March 2009 (CET)


<dd class="notedate">Posted on March 22, 2007 - 05:07</dd>
<dd class="notedate">Posted on March 22, 2007 - 05:07
<dt class="note">'''[[User:Kronzky|Kronzky]]'''</dt><dd class="note">
<dt class="note">'''[[User:Kronzky|Kronzky]]'''<dd class="note">
An in-depth discussion on the concept of vectors is available [http://forums.bistudio.com/showthread.php?t=50914 here].
An in-depth discussion on the concept of vectors is available [http://forums.bistudio.com/showthread.php?t=50914 here].
</dd>
 
<dd class="notedate">Posted on March 16, 2008 - 09:49</dd>
<dd class="notedate">Posted on March 16, 2008 - 09:49
<dt class="note">'''[[User:Str|Str]]'''</dt><dd class="note">Command can be also used to rotate camera in all three axis (which also mean it's possible to set camera bank).</dd>
<dt class="note">'''[[User:Str|Str]]'''<dd class="note">Command can be also used to rotate camera in all three axis (which also mean it's possible to set camera bank).
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 02:58, 18 October 2011

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

Description

Description:
Set object's up vector. Direction vector will remain unchanged.
Groups:
Uncategorised

Syntax

Syntax:
object setVectorUp [x, z, y]
Parameters:
object: Object
[x, z, y]: Array
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
vectorUpsetVectorDirvectorDirsetVectorDirAndUp

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note

Notes

setVectorUp can only influence an object's bank. It can not influence pitch. Example: player setVectorUp [0,1,0] If the player is facing 0 degrees (north), then this will do NOTHING. If the player is facing 90 degrees (east), then this will make him bank 90 degrees to his left. --General Barron 21:07, 3 March 2009 (CET)
Posted on March 22, 2007 - 05:07
Kronzky
An in-depth discussion on the concept of vectors is available here.
Posted on March 16, 2008 - 09:49
Str
Command can be also used to rotate camera in all three axis (which also mean it's possible to set camera bank).

Bottom Section