setVectorDirAndUp: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Extended)
m (+ Note about camera)
Line 26: Line 26:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted on March 16, 2008 - 09:50</dd>
<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>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 10:50, 16 March 2008

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

Description

Description:
Set object's orientation (given as direction and up vector).
Groups:
Uncategorised

Syntax

Syntax:
vehicle setVectorDirAndUp [[x, z, y],[x, z, y]]
Parameters:
vehicle: Object
[[x, z, y],[x, z, y]]: Array Numbers
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
vectorUpsetVectorUpvectorDirsetVectorDir

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 March 16, 2008 - 09:50
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