Page 1 of 1

follow mouse

PostPosted: Fri Nov 02, 2007 4:35 pm
by ayotot
can u make the actor follow the mouse,
BUT not further than a certain point?
I tried to have the actor collide with an invisible limit actor, but when u move the mouse beyond that point, the follow actor would just go through the limit actor and obey the force of the follow mouse event.
any suggestions?

thx.

Re: follow mouse

PostPosted: Fri Nov 02, 2007 4:45 pm
by asmodeus
I've made an example. Perhaps it will helps you.

Re: follow mouse

PostPosted: Fri Nov 02, 2007 7:20 pm
by ayotot
thank you.
it helped.