16-12-2021, 07:13 PM
Hi! Using ObiRope 6.3 in Unity and so far it seems to be working great. I am having an issue trying to optimize though. Sorry if this has been addressed before. I checked the FAQ and also the forum and didn't see this specific issue.
I'm trying to turn the solvers off when I don't need them, and then turn them on as needed. Turning them off is fine, but when I turn a solver back on, the rope connected to it acts like it just got hit with a massive amount of physical force and goes flying around, before coming to a rest where it originally was when I first turned the solver off. Is there a way to make it not do this? I want it to not move or react at all when I turn the solver back on.
I'm using the rope in 2D mode, hanging vertically with the top connected to an unmoving object called startAnchor. The bottom of the rope is another object with a Rigidbody2D called endAnchor, and the connection is dynamic (making the rope like a pendulum). The rope seems to move around pretty realistically and I really like what it looks like. I just want to be able to disable it and then re-enable it in script as needed to maximize efficiency.
Thanks!
I'm trying to turn the solvers off when I don't need them, and then turn them on as needed. Turning them off is fine, but when I turn a solver back on, the rope connected to it acts like it just got hit with a massive amount of physical force and goes flying around, before coming to a rest where it originally was when I first turned the solver off. Is there a way to make it not do this? I want it to not move or react at all when I turn the solver back on.
I'm using the rope in 2D mode, hanging vertically with the top connected to an unmoving object called startAnchor. The bottom of the rope is another object with a Rigidbody2D called endAnchor, and the connection is dynamic (making the rope like a pendulum). The rope seems to move around pretty realistically and I really like what it looks like. I just want to be able to disable it and then re-enable it in script as needed to maximize efficiency.
Thanks!