control ctrlSetModelDirAndUp [vectorDir, vectorUp]

Operand types

control: Control
[vectorDir, vectorUp]: Array

Type of returned value

Description

Sets the orientation of 3D control model.
It's similar to setVectorDirAndUp command for an object.

control : Control - 3D control
[vectorDir, vectorUp] : Array - format ctrlModelDirAndUp

Used In

Arma3

Example

_ctrl3D ctrlSetModelDirAndUp [[0,1,0],[0,0,1]]; //default orientation
Search OFPEC COMREF