|
Hi Everyone, Is there a tutorial on how to allow the gameplayer to navigate the environment in the Unity3d/Maya way? i.e Alt+RMB to zoom, Alth+MMB to pan, Alt+LMB to tumble?? My gratitude in advance. El
(comments are locked)
|
|
I know of no such tutorial, but this is fairly simple. On your camera, you would add a script which checks your input and then acts based upon it, like this: UnityCamera.js
Also, keep in mind the difference between zoom and dolly. See this link for reference. Also, if you want more kinds of camera controls, check out this question.
(comments are locked)
|
|
I recently had the need to make a similar script, and while Scott's script is great it didn't quite implement all the features I was looking for. If you're still struggling, feel free to grab this script and/or example project: http://danielskovli.com/folio/development/csharp/#maya-navigation-for-unity Cheers, Daniel
(comments are locked)
|
|
Thank you very very much. Your code and the other reference are a great crash course in Unity !! Take good care El
(comments are locked)
|
