Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Dynamic attachments
#1
Exclamación 
I think that Dynamic attachments have a bug!

When I create a rope and add a Dynamic attachment with Break threshold ( any number from 1-1000 )
Things work as planned at the beginning.
I move the connected object and if force gets over break threshold - it detaches from the rope!

But after I close unity and reopen, or make a standalone build ( windows, osx ) the object can't detach from the rope at all Triste

After I remove the dynamic attachment and add again - it works in the editor, till I close and reopen editor or build a standalone build!


Any tips or ideas about what's going on?

P.S. I tried to debug the code to see what's happening, and found that something strange is happening in function BreakConstraints.
Oni.GetBatchConstraintForces always returns 0 forces! ( even when the object is jumping around ) after you reopen the editor!

Possible a init fail after you reload the project as it works only on 1st time when the dynamic attachment is added.
I hope this helps to smash the bug!
Reply


Messages In This Thread
Dynamic attachments - by Kristaps - 26-04-2020, 07:06 PM
RE: Dynamic attachments - by josemendez - 28-04-2020, 08:22 AM