[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Directional collision detection.



Ian Mallett wrote:
> Directional test:
> if they collided:
>   if rect1 further left than rect2:
>     return left
> etc.
Ah of course how simple, must be my lack of sleep :)

Thanks for the help.

-- 
Daniel Mateos
http://daniel.mateos.cc