follow mouse

Game Editor comments and discussion.

follow mouse

Postby ayotot » Fri Nov 02, 2007 4:35 pm

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.
User avatar
ayotot
 
Posts: 19
Joined: Tue May 29, 2007 6:51 pm
Score: 0 Give a positive score

Re: follow mouse

Postby asmodeus » Fri Nov 02, 2007 4:45 pm

I've made an example. Perhaps it will helps you.
Attachments
follow_mouse.zip
Follow Mouse
(720 Bytes) Downloaded 94 times
User avatar
asmodeus
 
Posts: 483
Joined: Thu Oct 11, 2007 5:04 pm
Location: Germany
Score: 43 Give a positive score

Re: follow mouse

Postby ayotot » Fri Nov 02, 2007 7:20 pm

thank you.
it helped.
User avatar
ayotot
 
Posts: 19
Joined: Tue May 29, 2007 6:51 pm
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron