[Physics] Collision Location

Wanted to see if anyone knows of an efficient/simple way to detect when two object collide, at what point (x,y) the collision took place.

I need these coordinates to be used for a particle system I’m working on. Basically I have a ball bouncing around and need sparks/particles to fly off of the impact surface between the ball and other object.

I do have it currently working but only because the way I’m detecting the collision location assumes that one object is a circle. (conveniently that is what I’m using)

I would really like some way to detect collision locations regardless of the shape of my objects.

Thanks for any help in advance! [import]uid: 30414 topic_id: 20633 reply_id: 320633[/import]

I doubt it’s possible.
I had the same problem - and also had to use Circle Collision Detection using Vectors.

I guess Box2D supports Collision Points, but we can’t use that feature yet… [import]uid: 13097 topic_id: 20633 reply_id: 81015[/import]