[ODE] How to set bounce_vel unique for every body in a contact?

Dmitry Medvedev pegasi at inbox.ru
Sat Aug 18 05:50:24 MST 2007


 I have 2 bumping spheres and want to magnify collision effect (bounce) during impact, depending on spheres linear velocity vector. So I see 2 ways:

1) Add extra impulse to bodies every time a contact occurs 
2) Use ODE build-in tweak: bounce_velocity. The problem is that bounce_velocity is one for 2 contacted bodies.

How to set bounce velocity different for every contacted body?


More information about the ODE mailing list