For my block out I procedurally made a chandelier, and I ran into a few challenges along the way. First, I had to figure out how to make a concave curve that bent in both the X and Y directions to form the arms. Then I needed a way to adjust the lerp in Z so it dipped down briefly and came back up again to get the drooping effect. After that, I set up the logic for orienting the chain links so they followed the curve of the drop, this worked by taking the previous link’s position, making a vector to the current link, and rotating each link along that path. Finally, I solved how opposite links connected by adding a second point in between and rotating them perpendicularly, which gave me the proper final connection.
Use exponent 0.5
Now how do we make it dip down
if we look closely we can see where they are all pointing
No comments:
Post a Comment