Page 1 of 1

Simple, one question CSFML and Collision

Posted: Wed Dec 22, 2010 6:43 am
by darekg11
I just want to ask if any of You guys connected Chipmunk's collisions systems and CSFML in 1.6 version. I spent a lot time trying implement my own collision detection but I fucking fail so I just wonder if using Chipmunk combined with CSFML is easy?

Re: Simple, one question CSFML and Collision

Posted: Wed Dec 22, 2010 4:53 pm
by slembcke
It looks like it's basically like SDL? I don't see what would make things difficult. Chipmunk basically gives you a container for simulating shapes and joints and then you can draw stuff based on the positions of the objects from Chipmunk

Re: Simple, one question CSFML and Collision

Posted: Thu Dec 23, 2010 2:28 am
by darekg11
Yeah, what moves do I have to take to just perform easy PixelPerfectCollision between two sprites?

Re: Simple, one question CSFML and Collision

Posted: Thu Dec 23, 2010 9:57 am
by slembcke
Chipmunk doesn't do pixel perfect collisions. It supports polygons, circles, and fat line segments.