ctrlSetModelDirAndUp: Difference between revisions
Killzone Kid (talk | contribs) No edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 12: | Line 12: | ||
|p1= control : [[Control]] - 3D control | |p1= control : [[Control]] - 3D control | ||
|p2= dirAndUp: [[Array]] | |p2= dirAndUp: [[Array]] with [[ctrlModelDirAndUp]] - [<nowiki/>[[vectorDir]], [[vectorUp]]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Latest revision as of 09:52, 2 January 2026
Description
- Description:
- Sets orientation of 3D control model. It is similar to setVectorDirAndUp command for an object.
- Groups:
- GUI Control - Object
Syntax
- Syntax:
- control ctrlSetModelDirAndUp dirAndUp
- Parameters:
- control : Control - 3D control
- dirAndUp: Array with ctrlModelDirAndUp - [vectorDir, vectorUp]
- Return Value:
- Nothing
Examples
- Example 1:
- _ctrl3D ctrlSetModelDirAndUp [[0,1,0],[0,0,1]]; //default orientation
Additional Information
- See also:
- ctrlModelDirAndUp ctrlCreate ctrlDelete ctrlModel ctrlSetModel ctrlModelScale ctrlSetModelScale ctrlPosition ctrlSetPosition ctrlClassName vectorDir vectorUp setVectorDirAndUp ctrlModelVectorSide
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note