get3DENCamera: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9]) *= * <code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Eden( |_)Editor(\||\])" to "[[:Category:Eden Editor$2") |
||
Line 6: | Line 6: | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
|descr= Returns the camera [[Object]] used by the [[Eden Editor]]. | |descr= Returns the camera [[Object]] used by the [[:Category:Eden Editor]]. | ||
|s1= [[get3DENCamera]] | |s1= [[get3DENCamera]] | ||
|r1= [[Object]] - [[Eden Editor]] camera | |r1= [[Object]] - [[:Category:Eden Editor]] camera | ||
|x1= <sqf>// set exact yaw, pitch, and roll | |x1= <sqf>// set exact yaw, pitch, and roll |
Revision as of 13:21, 9 July 2023
Description
- Description:
- Returns the camera Object used by the Category:Eden Editor.
- Groups:
- Eden Editor
Syntax
- Syntax:
- get3DENCamera
- Return Value:
- Object - Category:Eden Editor camera
Examples
- Example 1:
- Example 2:
- //Look at player _a = positionCameraToWorld [0,0,0] vectorFromTo (getPosATL player); _y = asin(_a select 0); _b = [_a,_y] call BIS_fnc_rotateVector2D; _z = _b select 2; _p = asin(_z / sqrt((_b select 1)^2 + _z^2)); get3DENCamera setVectorDirAndUp [ _a, [ [0,-sin _p,cos _p],-_y] call BIS_fnc_rotateVector2D ];
Additional Information
- See also:
- move3DENCamera set3DENAttributes
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