Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exceptions on scale 0 Obi rope
#1
Hello Obi,

when I tween the obi solver size to 0, I get a lot of exceptions. is there any way to remove them? I tried setting solver.enabled to false, but then when I deactivate the solver gameobject, i still get exceptions "Assertion failed on expression: 'ValidTRS()'

It doesn't affect the gameplay, it's just that exceptions appear in the console.
Reply
#2
(19-02-2021, 04:03 PM)bobby Wrote: Hello Obi,

when I tween the obi solver size to 0, I get a lot of exceptions. is there any way to remove them? I tried setting solver.enabled to false, but then when I deactivate the solver gameobject, i still get exceptions "Assertion failed on expression: 'ValidTRS()'

It doesn't affect the gameplay, it's just that exceptions appear in the console.

Hi setting the solver scale to 0 or negative values isn't really supported, as it would effectively cause a lot of singularities in matrix operations. We will consider supporting this in future updates.

As a wrokaround, try scaling the solver to a small enough value (eg 0.0001) instead of all the way to zero.
Reply