mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
Android - Make radar turn of the virtual pad
This commit is contained in:
parent
fe5075bff2
commit
8d6d078ea2
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue