Page 1 of 1

Mouse Speed Limiting

PostPosted: Sat Jul 07, 2007 3:54 pm
by MudRat_02
Ok, in short, what I need is the actor to follow the mouse (done), but I also need a speed limit on that actor. Does anyone know how to limit the speed for a mouse controlled actor? Its easy with keys, but I'm not sure with the mouse. Any help would be appreciated.

Also, a side note, if i wanted this actor to slowly start trying to move independently (randomly and unpredictably) more and more as time goes on (and the player has to slowly increase the magnitude of their input to keep the actor where they want), how would i do this? Thanx guys :D

PostPosted: Sat Jul 07, 2007 7:05 pm
by Troodon
You can make a fake cursor MoveTo so that it slowly goes towards the real mouse position. ("real" cursor is small and under all the other actors by z value)