Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

Gyroscope Quaternion to Unity Camera (HELP PLEASE!)

$
0
0
Hello,

Anyone got any ideas on how to solve this please?

I've got a Normalised Quaternion, which is the output from the iPhone's Gyroscope (obtained via Prime31's DeviceMotion Plugin).

I'm trying to use this to directly control the camera view in Unity, so I would have a 360 degree rotation (ie. tilt the iPhone up = Unity camera points up, rotate the iPhone 90 degrees to the right = Unity camera turned 90 degrees right, etc.) - this is similar to the control system in N.O.V.A 2.

The...

Gyroscope Quaternion to Unity Camera (HELP PLEASE!)

Viewing all articles
Browse latest Browse all 10823

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>