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!)
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!)