Page 1 of 1

Gyroscope in v6b4

Posted: Thu Oct 11, 2018 7:58 pm
by nidrig
Hi,

I would like the gyroscope to always be enabled on mobile device, without the user having to turn it on.

How to do it in v6b4? is it possible?

Thanks.

Re: Gyroscope in v6b4

Posted: Thu Oct 11, 2018 11:11 pm
by Hopki
Hi,
The attached project uses a timer with an action filter.
The idea is that when the timer times out it turns on the Gyro.
The reason for the timer is so you can have a Fly In.

The Action Filter will only activate the Gyro if it's on a mobile.
If your not going to use the Fly In you can either set the value from 4 to 1 or not use the timer at all and just use a container with the action:
Start, Player Settings, Gyro, Enable Gyro.
Also use the action filter so it only activates on a mobile.
Regards,
Hopki

Re: Gyroscope in v6b4

Posted: Fri Oct 12, 2018 9:05 am
by nidrig
Thank you so much! Works like a charm and spared me some much needed time!