Page 1 of 1

2 Dynamic objects Oscillating

Posted: Wed Mar 20, 2019 7:02 am
by jh_january
Hello, my name is Kim and I have a question about Bullet Engine 2.82 version.

I have 4 blocks, and I'll stack up the blocks.

But when I get the third floor, the block tower shakes itself and eventually the tower falls down. you can see the video.

In my opinion, the gravity is the reason because my block's collision type are Dynamic.

I want that the blocks are stable when I stack them up.

I hope I can get a solution.

Thank you for reading.

Re: 2 Dynamic objects Oscillating

Posted: Wed Mar 20, 2019 1:56 pm
by Erwin Coumans
You should always use the very latest Bullet version from github. Aside from that, you can

1) use btBoxShape
2) use a smaller time step or increase the number of substeps
3) use more solver iterations or use a direct solver (Dantzig)
4) avoid large mass ratio

If you have issues, always create a small reproduction case by modifying an existing example in the ExampleBrowser.

Re: 2 Dynamic objects Oscillating

Posted: Tue Mar 26, 2019 1:14 am
by jh_january
wow... I solved this problem with your advice.

I increase SubSteps and use a smaller my steptime!

Thank you so much!!