(10-12-2019, 04:03 PM)josemendez Wrote: 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.
I created a new section asset and instead of using 8 vertices I am now using 3 vertices. It did not improve the performance by a lot though it seems to stay more consistently between 1-2 ms (for LateUpdate). However, now I occasionally get very high performance hits, which is caused by the ObiSolver.FixedUpdate(). The spikes are usually between 8-30 ms. There is sometimes more of them, sometimes less.
Any ideas what these could be caused by?