03-10-2023, 09:55 AM
(03-10-2023, 06:51 AM)josemendez Wrote: Hi!Thanks for the quick reply. I've added a point. And here're some questions. In RopeShowcase example second point is attached to the rope itself because it's (the point) static. In my case I have dynamic object. So should I attach second point to the same collider as the first point? And in general - should I attach those points? Because if I don't - it doesn't affects the rope. But when I attach the second point to the same collider - have this effect on a screenshot. There're some images in attachments.
Just attach two consecutive points in the rope. You can see an example of this in the RopeShowcase sample scene, the ropes attached to the left wall are kept perpendicular to it using this technique.
This works just like in real life: there's infinite straight lines that pass trough one point, only one line can passes trough two points though. So for example if you hammer a stick to the wall using a single nail, the stick will be free to rotate around it. However if you use two nails then the stick is no longer able to rotate.
kind regards,