Overlay_Log_2

Log 2

Code

GyroscopeUnityGyroAxis

Well… I’m sure they had their reasons…. but it still feels pretty counter-intuitive to have “forward” be downwards. I’m not sure, I haven’t seen any stickers claiming the android wasn’t tested on animals, so maybe it’s molls that are to blame for this.

Point is, the axis are pretty messed up and the ways for fixing this is rather ugly. It’d be great if one could reset the axis.

It’s a bit complicated to explain and I’m not the best 3D abstract thinker, but if I’m not mistaken, and using the image next to me. The Gyroscope world “down” is the Unity +Z (front);

Basically the y and z axis have rotated 90 degrees “forward” around the red/X axis.

The solution I’ve gone with can be seen beneath.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s