Restraining an actor from exiting the screen
Posted: Sun Aug 12, 2007 10:34 pm
How do I stop an actor from leaving the screen when it reaches the edge of the view? I don't want the screen to scroll and I want the actor to stop when it hits the edge. I tried creating a wireframe region at each edge of the view and creating a collide event for each one which sets the velocity multiplier of the event actor to 0, but sometimes the actor jumps all the way across the region and disappears off the screen (particularly on the left hand side for some reason)
TIA
moto
TIA
moto