07-07-2025, 03:48 PM
(This post was last modified: 07-07-2025, 03:49 PM by quent_1982.)
(07-07-2025, 08:13 AM)josemendez Wrote: The only way to specify the position of a pinhole is using a length %. However you can easily calculate the length % of any point or element in the rope yourself, it's just a division by the total amount of elements.
kind regards,
Hello, thanks but I've recently noticed a new problem.
I'm using ObiRope and need to restart ropes during the game. Right now, I destroy and instantiate them using Unity’s Destroy() and Instantiate(), but after around 20 restarts, performance drops from 100+ FPS to 1 FPS — likely due to garbage collection or no proper Burst and Jobs disposing.
I also tried using _solver.RemoveActor() and _solver.AddActor(), but even when doing that before destroying/instantiating, I still get same performance leaks.
Is there a proper way to restart ObiRopes without causing these issues?
Kind regards,