Quantcast
Channel: Questions in topic: "follow"
Viewing all articles
Browse latest Browse all 536

Improve MouseOrbitImproved

$
0
0
using the following code (http://wiki.unity3d.com/index.php?title=MouseOrbitImproved) I want to be able to move the rotation of the camera only if you hold down the right mouse button. If the right mouse button is pressed, I would like the camera to continue to follow the target. What would I change? I do not know where I have to insert the if statement for control the mouse button.

Viewing all articles
Browse latest Browse all 536

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>