2 Dynamic objects Oscillating

Post Reply
jh_january
Posts: 2
Joined: Wed Mar 20, 2019 6:32 am

2 Dynamic objects Oscillating

Post 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.
https://youtu.be/e2_DkZp0wt0 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.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: 2 Dynamic objects Oscillating

Post 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.
jh_january
Posts: 2
Joined: Wed Mar 20, 2019 6:32 am

Re: 2 Dynamic objects Oscillating

Post by jh_january »

wow... I solved this problem with your advice.

I increase SubSteps and use a smaller my steptime!

Thank you so much!!
Post Reply