playMaker

Author Topic: Get Device Gyroscope  (Read 4126 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Get Device Gyroscope
« on: September 14, 2015, 04:02:36 AM »
Hi,

 It's been on my harddrive, but never released it... sorry :)

So here it is, an action get get all device gyroscope values, including gravity, attitude, etc.

you can install the action conveniently using the Ecosystem

GetDeviceGyroscope

Unity help

 Bye,

 Jean

LogLady

  • Full Member
  • ***
  • Posts: 150
Re: Get Device Gyroscope
« Reply #1 on: June 04, 2016, 04:13:57 PM »
Jean

I can't get any reading from any android device. I tried the "Get Device Info" action and confirmed that the devices have Accelerometer and Gyroscope.

I'm using Unity 5.3.5f1 and a Motorola Moto G 2nd gen and android 5.0.2

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Device Gyroscope
« Reply #2 on: June 06, 2016, 03:10:08 AM »
Hi,

 How do you get the reading on device? the values are very small, so you may have to multiply it to see any effect, else to be totally sure, you should debug the actual values as a string in the UI so that you can see the real value, then you can start implementing features based on this.

Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Device Gyroscope
« Reply #3 on: June 06, 2016, 03:10:40 AM »
Hi,

 One more thing. Try using Unity Remote, all data should be passed and so you can debug in Editor.

Bye,

 Jean