Hi... I am doing a packman. Just for fun, and a have these problem: I am using ray for the limits. They work well except in the end.
I dont speak English very good so i let you the blend. It is so easy to understand.
To stop the cube in Y axis work well but if a put the line :
elif Right.positive or Lefth.positive:
own['dx'] = 0.0
to stop in the X axis. Dont work. I think that maybe it a bug.
I will be very gratefull if are any can help me.