Unity3D - Vision Tracking 1/3 (Useful for VR)

3,096
by Super User, 8 years ago
0 0
Calculate a score from -1 to 1 for how much the camera is looking at a GameObject. Very useful for VR games. Since the scripts are too long to copy, here's a link to the scripts in the video:

https://github.com/osmosacademy/vr-passport/tree/95a94c91d907a921c0a63ec41b76a0a70f4b80d0/Assets/Scripts/Vision

And here's the project with the fish:

https://github.com/osmosacademy/vr-passport

This introductory video assumes you know very little about computer programming and Unity3D. Made with Unity 5. Do you have an idea for my next video? Send me a message, or support me on Patreon to prioritize your idea!

http://www.patreon.com/stuartspence
http://www.codingplayground.ca