Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  ObiParticleAttachment not working after disable -> enable solver object
#1
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 ?
Reply
#2
(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?
Reply