Mouselook script

Could someone post a simple mouselook script in javascript that I can edit and disect? I am VERY new to Unity and would like something like this, thanks! :slight_smile:

http://www.starscenesoftware.com/stuff/unity/MouseLook.txt

Thank Eric5h5 for that one.

Wow! I said simple, but OK! :stuck_out_tongue:

Pretty sure that’s about as simple as it could be, programmatically modifying angles and quaternions based on user input can’t really be done with a single line of code :slight_smile:

Understood.