ctrlSetModelDirAndUp

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.32
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.32

Description

Description:
Sets orientation of 3D control model. It is similar to setVectorDirAndUp command for an object.

Syntax

Syntax:
control ctrlSetModelDirAndUp [dir, up]
Parameters:
control : Control - 3D control
[dir, up] : Array - format ctrlModelDirAndUp
dir : Array - vectorDir
up : Array - vectorUp
Return Value:
Nothing

Examples

Example 1:
_ctrl3D ctrlSetModelDirAndUp [[0,1,0],[0,0,1]]; //default orientation

Additional Information

Multiplayer:
-
See also:
ctrlModelDirAndUpctrlCreatectrlDeletectrlModelctrlSetModelctrlModelScalectrlSetModelScalectrlPositionctrlSetPositionctrlClassNamevectorDirvectorUpsetVectorDirAndUp

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section