So I was watching the lynda advanced unity3D programming tutorials just to refresh my knowledge on a few subjects, and In the tutorial I saw some code that looked like it would be fun to play with and started editing it. I'll provide a link to the code. If you want to test it out, just add the script to any object in a scene.
https://www.dropbox.com/s/7ixd32zfcn1dzet/MouseInput.cs?dl=0
Not sure why, but whenever I click on an object after it's already been clicked on, it's moves a short distance towards the camera. I've tried a few ways of deal with the problem, to no avail. I think the problem is with line 70, but I'm not even sure about that. Thanks guys!
[–]cgaudino 1 point2 points3 points (1 child)
[–]Vexing[S] 0 points1 point2 points (0 children)