UnityOptitrack icon indicating copy to clipboard operation
UnityOptitrack copied to clipboard

Headtracking

Open vicung opened this issue 10 years ago • 0 comments

Hello,

Not sure if you're still around here but I thought I could give it a try.

I'm currently working on a project building a CAVE with Optitrack for my university and we're using your project to get Optitrack streaming into Unity (thanks a lot for that btw!) and it works fine. Now we changed the script so we can use it for headtracking only. The position is controlled by a gamepad and one can look around with the trackers on our 3D glasses. The only problem we have is, that the camera view is tilting to the z axis when it's supposed to rotate on the x and y axis only, which therefore creates a distorted view. We tried to set the euler.z to 0 but the standard FPS Controller still gets data for the z axis from somewhere. We haven't scripted in C# before so we're not sure if the problem might be something else. Maybe you could help? We would really appreciate it.

Best regards!

vicung avatar Jul 09 '15 12:07 vicung