- Home /
Question by
Lewenos 1 · Apr 25, 2011 at 10:10 AM ·
mmorpgclicktomove
Click to move script, need help.
Hi everyone! Im making MMORPG game and need some help.. This time i have some problems with Click to move script. It can be something like
//Heres function... //Here comes if(Input.GetMouseButtonUp(0)) //This is just example.. Click to move button used will be mouse button 0 (left button).
Then will come something like when hit ground, player will walk to that point and first it will rotate to that hit point.
I need script like that or something what moves player to that position where mouse gots hitted..
Please help, Thanks!
Lewenos
Comment
Best Answer
Answer by FLASHDENMARK · Apr 25, 2011 at 10:49 AM
Use the code in this link:
http://www.unifycommunity.com/wiki/index.php?title=Click_To_Move