Simple, one question CSFML and Collision

Official forum for the Chipmunk2D Physics Library.
Post Reply
darekg11
Posts: 2
Joined: Wed Dec 22, 2010 6:41 am
Contact:

Simple, one question CSFML and Collision

Post 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?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Simple, one question CSFML and Collision

Post 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
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
darekg11
Posts: 2
Joined: Wed Dec 22, 2010 6:41 am
Contact:

Re: Simple, one question CSFML and Collision

Post by darekg11 »

Yeah, what moves do I have to take to just perform easy PixelPerfectCollision between two sprites?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Simple, one question CSFML and Collision

Post by slembcke »

Chipmunk doesn't do pixel perfect collisions. It supports polygons, circles, and fat line segments.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests