-
-
Notifications
You must be signed in to change notification settings - Fork 252
Description
Hi. Thanks for this great and easy to use library.
I've recently upgraded from 0.9.0 to 0.10.2. And now noticed the following that I couldn't explain.
When I have a body with type::static with a dynamic body resting on top of it (with gravity): what I was previously able to do (in 0.9.0) was modify the static body to become dynamic. And they would both fall down as expected. The dynamic body would push the previously static body down.
In the new version, it crashes on the assert in OverlappingPairs::setNeedToTestOverlap().
The same happens when modifying the collision bitmasks while a body is currently in contact with another body.
It does work if I set the body to inactive first, then modify it's bits or type, and then set it to active all before running a new world update.