Android - Make radar turn of the virtual pad

This commit is contained in:
Cristian Luis Duarte 2018-02-06 22:52:29 -03:00
parent fe5075bff2
commit 8d6d078ea2

View file

@ -1100,6 +1100,8 @@ function startRadar() {
Camera.orientation = Quat.fromPitchYawRollDegrees(-90,0,0);
radar = true;
Controller.setVPadEnabled(false); // this was done before in CompositeExtra in the DisplayPlugin (Checking for camera not independent, not radar mode)
connectRadarModeEvents();
}
@ -1108,6 +1110,8 @@ function endRadar() {
Camera.mode = "first person";
radar = false;
Controller.setVPadEnabled(true);
disconnectRadarModeEvents();
hideAllEntitiesIcons();
hideAllAvatarIcons();