Rope/beam/long part wrapping around part in real-time game

I am currently making an attack on titan game which includes a rope effect from the character to the hook.
I’ve seen in other games outside roblox creating the effect of wrapping the ropes around parts when needed to prevent hook clipping.


Like this.
Any way i can replicate this effect? Any techniques?

1 Like

If you use Roblox’s default rope constraint, no. You have to do complicated math I don’t understand and use Parts to make the rope

2 Likes

you can make an invisible part appear at the corner, and put a rope segment from the sphere to the part on the corner, and from the part in the corner to the hook. Currently roblox does not seem to have a feature to make ropes collide.

2 Likes

The best way I can think of is to constantly scan for a part between the two attachments and figure out the contact points to make new attachments for display new ropes, while having the original rope invisible.
This is an extremely difficult thing to do in Roblox due to the inability to program the actual environment.

2 Likes