Hi guys
My character should move with the mouse cursor, but a little slower.
I have no ideas how to do this script
Help me!! please
Hi guys
My character should move with the mouse cursor, but a little slower.
I have no ideas how to do this script
Help me!! please
If I understand your question correctly, attach a Mouse Look script (found in components under Camera Control I think) to the game object you want to look at the mouse cursor. You will also need a fps controller on there in order to move it.
Thanks!!
I’ve tried this metod and it’s works great, but i need a very small script with the same functions.
Anyone can help me?
What do you mean by ‘a very small script with the same functions’?
If you doubleclick on the script MouseLook.cs you can take a look at that, that is pretty small… as small as it needs to be I would imagine.
You’re lucky because yesterday I created an example like this. Most of the times I do mini-demos and if they work well I plug them to my main project.
Have a good day!
http://forum.unity3d.com/threads/69533-Tutorial-3D-cursor-and-player-with-smoothing