Gradually increase twist in a for loop

   525   4   1
User Avatar
Member
6 posts
Joined: 3月 2024
Offline
Hi, I'm trying to make these cubes transition to twisted state in the middle and not-twisted in the beginning and end. Need help how to make a ramp and use it on the bend node (or any other way).

Attachments:
Screenshot 2024-07-05 at 20.37.03.png (3.4 MB)

User Avatar
Member
100 posts
Joined: 1月 2015
Offline
Hello, like this ?¿

Attachments:
TwistWeight.hiplc (159.2 KB)
CaptureTwist.JPG (282.6 KB)

Gameloft
User Avatar
Member
6 posts
Joined: 3月 2024
Offline
Yes, thank you! Also I didn't see before the purple line connecting to the bend node, can you explain to me what it is?
User Avatar
Member
100 posts
Joined: 1月 2015
Offline
It's the spare input link I added in the twist so I can use an expression to compute the capture length.
( bbox(-1,D_ZSIZE))

-1 mean the first space input.
Gameloft
User Avatar
Member
374 posts
Joined: 4月 2018
Offline
Here's a non-VEX way that does the same thing:

Attachments:
2024-07-06_10-27.png (967.0 KB)

  • Quick Links