stop actor when touched
Hi,
i want to stop an actor when it is touched and then when is is stopped but it is touched i want to move to the right. I have a move behavior inside the actor and i already tried with the (stop+1)%2 but it doesn't work.
any help?
i want to stop an actor when it is touched and then when is is stopped but it is touched i want to move to the right. I have a move behavior inside the actor and i already tried with the (stop+1)%2 but it doesn't work.
any help?
Comments
http://www.2shared.com/file/O8JG0ELS/StopWhenTouchedDemogameproj.html