Stopping an object
Posted: Wed Jul 26, 2006 10:31 pm
I have an actor that moves with moveto on 2 pixels.
How do I stop it if:
when using phisical response it bounces a little,
I have a background so I can't check if place is free.
In short I need a function to determine if there is an object e.g. "wall" in a position e.g. "player.x+2".
Help someone!
How do I stop it if:
when using phisical response it bounces a little,
I have a background so I can't check if place is free.
In short I need a function to determine if there is an object e.g. "wall" in a position e.g. "player.x+2".
Help someone!