Obi Official Forum
Bug / Crash ObiParticleAttachment not working after disable -> enable solver object - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Bug / Crash ObiParticleAttachment not working after disable -> enable solver object (/thread-2484.html)



ObiParticleAttachment not working after disable -> enable solver object - hungseparate - 11-09-2020

I have a simple rope like this :

- Solver
          - Rope
          - Gameobject A -> is kinematic
          - Gameobject B -> is dynamic

Rope have 2 attachments, static with A and dynamic with B.

In my game, i tried to hide any rope that out of screen to get some fps, so i disabled solver gameobject, when  ienable it again, B drop to the ground like it doesn't have any attachment with the Rope, while A still working fine (may be because it is kinematic)

As i checked, both attachment still enable, nothing change.

Is there something wrong with my implement ? do you have any suggest for this case ?


RE: ObiParticleAttachment not working after disable -> enable solver object - josemendez - 18-09-2020

(11-09-2020, 05:50 PM)hungseparate Wrote: I have a simple rope like this :

- Solver
          - Rope
          - Gameobject A -> is kinematic
          - Gameobject B -> is dynamic

Rope have 2 attachments, static with A and dynamic with B.

In my game, i tried to hide any rope that out of screen to get some fps, so i disabled solver gameobject, when  ienable it again, B drop to the ground like it doesn't have any attachment with the Rope, while A still working fine (may be because it is kinematic)

As i checked, both attachment still enable, nothing change.

Is there something wrong with my implement ? do you have any suggest for this case ?

Hi there,

I'm unable to reproduce this. Disabling the solver and enabling it again works fine for me, regardless of the type of attachments used. Can you give more details about your setup? Obi/Unity versions? In-editor/standalone?