10-12-2019, 04:03 PM
(This post was last modified: 10-12-2019, 04:04 PM by josemendez.)
(10-12-2019, 03:43 PM)Wattosan Wrote: How do you control the segment count? By the resolution variable? It is currently set to 0.1.
Resolution controls the amount of particles (which is equal to the amount of sections when smoothing == 0).
Each section has multiple segments. The renderer takes a "section" asset as parameter. The DefaultSection is used by default, you can create your own rope sections by right clicking in the project folder->Create->Obi->Rope Section. Select it, and in its inspector you can change the shape of the section as well as the amount of segments.
If you've ever extruded a shape along a path in any 3D modeling software, think of the section as the shape that is extruded, and the rope as the path it is extruded along.