Page 1 of 1

Infinite mass and moment solution

Posted: Thu Sep 27, 2012 3:41 am
by theisegeberg
Hi guys,

This is just a question. But sometimes I've heard the problem stated as: What happens if two objects of infinite mass collides. And really, from a pure physics point of view, it hasn't to do with static mass, it has to do with relative mass. If both have infinite mass, they might as well both have a mass of 1 each of them. Because it's the same.

I did a really quick fix for this to allow for infinite masses colliding, and it works logically and chipmunk handles it nicely.

Best,
Theis

Re: Infinite mass and moment solution

Posted: Thu Sep 27, 2012 10:42 am
by slembcke
What was the solution? I'd be curious to see. Seems like you'd need to insert a number of checks all over the source code for that to work.

In Chipmunk 6.1.1 collision between infinite mass objects are now ignored which also fixes the unsolvable constraint issue.