RBD sim but in 2D?

   347   3   1
User Avatar
Member
1188 posts
Joined: 4月 2017
オフライン
Hi!

I'm trying to build a brick wall with very funky shapes. I was thinking of using an RBD sim to stack them together but I'd want it to be 2D (X and Y). The reason is for stability (nothing falls infront of the wall) and to lock the X and Y rotations. ...and faster calculations, maybe?

...Is that possible?
Edited by olivierth - 2026年2月6日 11:42:37
User Avatar
Member
1188 posts
Joined: 4月 2017
オフライン
... I found a page that talks about it (in japanese?) but it looks to complicated for the time I have...
User Avatar
Member
87 posts
Joined: 4月 2013
オフライン
A very quick and dirty way to achieve this, no Japanese required.

Drop a solver sop "inside" your RBD Bullet Solver connected to either pre or post solve, didn't notice
much difference in this case tbh, then add an attribute wrangle inside the solver.

v@v.z = 0; will resist/stop Z axis velocity movement

v@w.z = 0; same thing for rotation


Image Not Found

Attachments:
2D_Simulation.hipnc (535.9 KB)

"Genius might be the ability to say a profound thing in a simple way." — Charles Bukowski
User Avatar
Member
214 posts
Joined: 3月 2018
オフライン
I created an example years ago...

Attachments:
2D Simulation.hip (586.8 KB)

  • Quick Links