Infinite mass and moment solution

Discuss new features and future development.
Post Reply
theisegeberg
Posts: 6
Joined: Tue Aug 28, 2012 5:32 am
Contact:

Infinite mass and moment solution

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

Re: Infinite mass and moment solution

Post 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.
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 6 guests