surface tutorial

thyshimrod
Posts: 2
Joined: Tue Dec 17, 2013 1:44 pm

surface tutorial

Post by thyshimrod »

Hello,

I was user of ODE by the past, and I migrated to bullet.
With ODE, there was some notion of surface for a body, which manage the behavior of collision (hard surface for ground, against elastic surface for a ball).
How bullet manage this kind of stuff?
Is there any article about that?

Thank you
billias13
Posts: 18
Joined: Thu Mar 22, 2012 9:29 am

Re: surface tutorial

Post by billias13 »

Check the restitution of your rigid bodies using the .setRestitution() method.
Setting restitution to 0.0 will result in no bounce at all.
thyshimrod
Posts: 2
Joined: Tue Dec 17, 2013 1:44 pm

Re: surface tutorial

Post by thyshimrod »

thank you