playMaker

Author Topic: Getting Accelerometer Values  (Read 2962 times)

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Getting Accelerometer Values
« on: June 08, 2014, 09:28:40 AM »
Hi Guys, I've just created an Action that allow us to retrieve axis value from an accelerometer of a devices, any feedback are really appreciated.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Getting Accelerometer Values
« Reply #1 on: June 10, 2014, 07:30:05 AM »
Hi,

 nice. The big problem with raw acceleration is device orientation. So a great addition would be to map acceleration based on device orientation for consistency, otherwise it's quite difficult to work with acceleration as is.

Bye,

 Jean

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Re: Getting Accelerometer Values
« Reply #2 on: June 11, 2014, 12:05:19 PM »
Silly me, I didn't notice that there where an action for this exact function, and do exactly the same...so please ignore this

jeanfabre: does the one Playmaker provide takes device orientation into account?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Getting Accelerometer Values
« Reply #3 on: June 12, 2014, 06:01:23 AM »
Hi,

 Nop. It's really tricky, I tried, but never got around finding the right maths to provide a proper usefull set of values.

bye,

 Jean