I want to make a 3d space using OF that stacked boxes like jenga

Hi, All.

I want to make a 3d space using OF that stacked boxes like jenga.

There is also gravity physics.

So when I remove bottom box, stacked boxes must be collapsed.

How can I make this ?

Thanks in advance…

Best,
@bemoregt.

I’d start by looking at ofxBullet for the physics interactions/stacking/collapsing.

1 Like