mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix camPan normalization
This commit is contained in:
parent
697997ca8f
commit
5cfe180d3b
@ -50,7 +50,7 @@ if !(_vision in GVAR(availableVisions)) then {
|
|||||||
_vision = GVAR(availableVisions) select ((GVAR(availableVisions) find GVAR(camVision)) max 0);
|
_vision = GVAR(availableVisions) select ((GVAR(availableVisions) find GVAR(camVision)) max 0);
|
||||||
};
|
};
|
||||||
|
|
||||||
GVAR(camPan) = ((_heading % 360) max 0);
|
GVAR(camPan) = _heading % 360;
|
||||||
GVAR(camPosition) = (ATLtoASL _position);
|
GVAR(camPosition) = (ATLtoASL _position);
|
||||||
GVAR(camSpeed) = (_speed max 0.05) min 10;
|
GVAR(camSpeed) = (_speed max 0.05) min 10;
|
||||||
GVAR(camTilt) = (_tilt max -89) min 89;
|
GVAR(camTilt) = (_tilt max -89) min 89;
|
||||||
|
Loading…
Reference in New Issue
Block a user