DanielChappuis / reactphysics3d

Open source C++ physics engine library in 3D

Home Page:http://www.reactphysics3d.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bounciness

Omroth opened this issue · comments

commented

I'm setting:

collider->getMaterial().setBounciness(0.0)

On my colliders, and they still bounce a lot. Any ideas?

In a contact between two bodies the largest bounciness factor of the two colliders is used. Therefore, if you want no bounciness at all in a contact, you need to set the bounciness factor of both colliders to zero.

Thanks, that helps me fix my problem. Did you consider taking an average instead out of interest?