How to avoid large impulse due to overlapping?

papaonn
Posts: 41
Joined: Wed Nov 20, 2013 4:14 pm

How to avoid large impulse due to overlapping?

Post by papaonn »

My objects are overlapping and suddenly it spike up and jump into sky due to large impulse,
how do I handle the impulse response so that I can limit the large impulse / discard the incredibly large impulse before it applied?

Thanks guys!
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: How to avoid large impulse due to overlapping?

Post by Erwin Coumans »

Assuming you are using the most recent Bullet version, the 'split impulse' feature should deal with this.

This is enabled by default, so it is not clear why you see any large impulse due to overlap: it should not happen.
See also http://bulletphysics.org/mediawiki-1.5. ... SolverInfo how to disable/enable split impulse