09-05-2023, 04:29 PM
is there no code to close the ends of the rope?
Help rope start and end point mesh close
|
09-05-2023, 04:29 PM
is there no code to close the ends of the rope?
11-05-2023, 10:01 AM
(09-05-2023, 04:29 PM)emreaa Wrote: is there no code to close the ends of the rope? Yes, there's many different ways to do this: you can use pathSmoother.GetSectionAt() to place a custom mesh at the ends of the rope, use attachments, use the rope's elements array and particle positions to place a custom object at the ends, etc. A simple, ready-made way to do it is to use ObiRopePrefabPlugger component. This allows you to place custom prefabs at the ends of the rope, as well as in any cut ends in the middle of the rope. See the "ElectricalWires" sample scene for an example of this. kind regards, |
« Next Oldest | Next Newest »
|