Infinite mass and moment solution

Discuss new features and future development.

Infinite mass and moment solution

Postby theisegeberg » Thu Sep 27, 2012 3:41 am

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.

Posts: 6
Joined: Tue Aug 28, 2012 5:32 am

Re: Infinite mass and moment solution

Postby slembcke » Thu Sep 27, 2012 10:42 am

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.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! ->
User avatar
Site Admin
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Return to Features/Development

Who is online

Users browsing this forum: No registered users and 2 guests