Help align books leaning onto each other

   80   1   0
User Avatar
Member
1 posts
Joined: March 2024
Offline
Hi,

I am trying to build a book generator where I can have multiple books leaning at an angle onto each other, the problem is I am not able to figure out a way to have the books touching, without using RBD or any simulation.

I have tried projecting a point at the top corner while also having the pivot there, then trying to project via a ray and have it on the previous book iteration but I can't get it working.

I am a beginer at Houdini so I don't know VEX and am struggling with it since I tried looking at an attribute wrangler as well.

Does anybody have an idea on how I could have each book touching the previous one perpedincularii based on the top pivot?

Many thanks

Attachments:
BooksGenerator.hip (175.8 KB)
1.png (638.9 KB)
2.png (253.3 KB)

User Avatar
Member
393 posts
Joined: Aug. 2018
Offline
A few years old, but this might help:
https://vimeo.com/228391688?fl=pl&fe=sh#t=25m47s [vimeo.com]
  • Quick Links