I made a rope tangling system where i have 2 attachments: StartAttachment (Attachment0) and EndAttachment (Attachment1) then i cast a ray every frame from attachment0 to attachment1, and when the ray hits something it creates an attachment at the intersection and splits the rope into two.
Now my problem is that i can’t detect when the rope get untangled (The rope gets away from the wall)
I tried using dot product but no luck.
If you have a solution then please help. Thank you.
Have you tried after getting the rope tangled, start shooting a raycast from the hand to the gun while the rope is already tangled, and make sure that the ray instance is the gun?