Rotating an Object in Unity via SteamVR Controller Rotation, C#

1.4k Views Asked by At

Hello there wise people!

currently, I'm designing a VR Motorcycle Game. Right now, the Steering is controlled by moving your Finger left or right across the Touchpad of the SteamVR Controller.

steeringInput = Input.GetAxis ("Horizontal");

What I need is some Input for rotating the Controller left and right, so when I tilt the controller to the right, the steering is also turning right.

I've searched the web for hours but found nothing, that helped me out yet.

Thanks for your time!

0

There are 0 best solutions below