I need to simulate a pallet with boxes. When i load a lot of boxes, they start to slide, because i have some small vertical gaps between boxes. Such a pallet quickly collapse.
I think that for me would be enough to just simulate torque. I mean to allow boxes to tip over or roll. For now i think to debug into Bullet and make find a spot where sliding integrates into movement and disable it, but maybe there is an option to do it without changing the library?
Can i turn off sliding
-
- Posts: 3
- Joined: Mon Apr 15, 2019 2:48 am
Re: Can i turn off sliding
May be set friction?
-
- Posts: 849
- Joined: Tue Sep 30, 2014 6:03 pm
- Location: San Francisco
Re: Can i turn off sliding
You could also try reducing the "restitution". It is a normalized value that basically represents how "bouncy" the objects are. It ranges from 0.0 (soft, no energy is conserved on collision) to 1.0 (hard, max energy is conserved).