Page 1 of 1

[Bepu 2] Deleting stacked objects.

Posted: Mon Jun 17, 2019 6:25 pm
by Darkon76
Hello,

Just reporting if you have a stack of sleeping cubes, if you delete the bottom object the top objects don't wakeup and fall. My workaround was using the Simulation.Awaker before removing the object from the simulation.

Regards.

Re: [Bepu 2] Deleting stacked objects.

Posted: Mon Jun 17, 2019 10:20 pm
by Norbo
I can't reproduce this in the demos without setting the BodyActivityDescription to extremely aggressive values such that the stack falls asleep before it can accelerate due to gravity. Notably, removing a body already forces the associated island awake, and removing a static forces all bodies touching its bounds awake. Manually forcing the bodies awake shouldn't change things, since they were already forced awake as a part of removal.

Could you provide a snippet that reproduces the issue in the demos?