Dive Board



Looking Up or Down makes my character Lean towards and backw

Looking Up or Down makes my character Lean towards and backw

by JohnnC on Nov 14th, 2014 23:37 PM

Hi, I'm using the DiveOpenSensor plugin on Unity for an Android Project.

I'm new at this, but I found that (with mouse look at least):
1.- my Character Object has to have only the X axis (so he can move towards where I'm looking)
2.- and my Camera Object has to have only the Y axis (so when I look down my character doesn't tilt forward and when I look up it doesn't tilt backward)

Thats the default behavior of the First Person Controller, I did the same for the OpenDiveSensor setting just the X axis to the "head" (Wich has the cameras) and the Y axis to the Full character.

It works fine on the editor, but not on Android, on Android my character keeps tilting forward and backwards, that makes my character cameras to pass through walls and stuff.

I assume it's because the AXIS option on the OpenDiveSensor is just for the editor and the mouse emulation, but how can I fix that for the final Android functionality?
What lines should I be looking at?

Thanks in advance

JohnnC

Posts: 1

Joined: 14.11.2014