Vellum belt that affects a RBD wheel?

   1577   4   2
User Avatar
Member
6 posts
Joined: March 2019
Offline
Hi,

Noob here. I'm trying to create a sim where there's a belt spanning over 2 rotating wheels.
One of them is "powered" (rotates by itself) and the other should rotate because of the friction with the belt:



I've managed to set up the initial state with vellum drape and I've created a DOP network where Vellum interacts with RBD.
The powered wheel part and a belt that kind of follows the motion kind of works but I cannot figure out how to make the other wheel rotate. It's locked in space.

I've attached a .hiplnc with my current progress.

Can you help me with this?
Links, tutorials, official documentation or examples, everything is game.
Edited by mksondej - May 26, 2022 16:29:13

Attachments:
wheels.hiplc (788.3 KB)

User Avatar
Member
1738 posts
Joined: May 2006
Offline
Vellum and RBD can't directly affect each other.

Vellum does have a shape match constraint, which lets you make pretty rigid objects, and they then play nice with the rest of vellum.

Had a play today between other tasks, its ugly, and well past the point of 'is it worth it?', as I reckon you could fake it with just expressions and some clever sop tricks, but anyway, its a start.

Curious if anyone else has better ideas here. The alternative is go the other way, build this all in rbd, do the belt as a chain of connected rbd objects, but I'll leave that for someone else to solve.

Attachments:
vellum_belt_drive_v02_hiplc.hiplc (1001.8 KB)
vellum_belt_drive.gif (2.7 MB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
6 posts
Joined: March 2019
Offline
Not ugly, exactly what I wanted
Thank you Matt, this response goes beyond what I expected.
User Avatar
Member
6 posts
Joined: March 2019
Offline
Just for posterity I'm also posting results of my experiments with doing it via SOP-tricks-only-way.
I'm "simulating" belt wobble and "droop" (greatly exaggerated on the gif just to show that it's there) with some VEX and VOP.
It can even be adjusted in real time and all params are relative to the bounding box, which is pretty nice.



The belt animation itself is based on this tank track tutorial:

https://www.youtube.com/watch?v=x3aeEutYulw [www.youtube.com]
Edited by mksondej - May 30, 2022 12:57:31

Attachments:
wheel_belt_drive_no_sim.hiplc (442.1 KB)
ezgif-4-53b6cd1453.gif (930.1 KB)

User Avatar
Member
1738 posts
Joined: May 2006
Offline
I had a go as well, totally unscientific, but wanted to see if the chain sop could be used to avoid vexing. It could, but then i ended up using vex to generate the uv's. Oh well. Fun though!

Attachments:
sops_belt_drive.gif (1.8 MB)
belt_drive_sops.hip (310.0 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
  • Quick Links