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

[pygame] collision detection



hi

i need some help with collisions. I am using pyopengy to crate some complex shapes and i need to detect the mouse click on them. My problem is that i have for example a circle and i need the mouse to detect acurately the circle instead of the rect surrounding the circle.
With the collision detection i have been using so far it only detects the colision with the rect.
anyone has developed some more detailed collision detection? I guess it has been done already but i am not sure where to find it.

thanks

--
enrike