playMaker

Author Topic: Accelerometer issue  (Read 1214 times)

RBuster

  • Playmaker Newbie
  • *
  • Posts: 4
Accelerometer issue
« on: August 01, 2017, 11:09:39 AM »
Hey guys

Newbie here! I am finding some issue when I test my accelerometer app created with the playmaker. I am doing this tutorial: and the ball is rolling to the wrong direction and I cannot control its direction. I am using iPhone6 and when I test any accelerometer game it works very well. Some help? Thanks.

RBuster

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Accelerometer issue
« Reply #1 on: August 02, 2017, 08:02:35 AM »
A bad start. What a pity.  :-\

No help?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Accelerometer issue
« Reply #2 on: August 09, 2017, 12:17:48 AM »
Hi,
Sorry i must have missed your post.

Maybe the camera is not in the right position,

also in add torque X must be device_x and Z must be device_y

I tested with unity remote and it seems to work fine

Try 1st only to set X (left and right) on the add torque action
(y and z should be none, space 'world' and force mode 'Force'
if its going the wrong direction you should rotate the y rotation from the camera (rotate in steps of 90)

then set the Z value (device_y).