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
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!
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
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!