Gyroscope in v6b4

Q&A about the latest versions
Post Reply
nidrig
Posts: 17
Joined: Wed Aug 22, 2018 11:39 am

Gyroscope in v6b4

Post by nidrig » Thu Oct 11, 2018 7:58 pm

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.

User avatar
Hopki
Gnome
Posts: 8761
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Gyroscope in v6b4

Post by Hopki » Thu Oct 11, 2018 11:11 pm

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
Attachments
Gyro.zip
(1.47 MiB) Downloaded 10 times

nidrig
Posts: 17
Joined: Wed Aug 22, 2018 11:39 am

Re: Gyroscope in v6b4

Post by nidrig » Fri Oct 12, 2018 9:05 am

Thank you so much! Works like a charm and spared me some much needed time!

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 27 guests