How I simulate it here
On my project, that I have made so many things already, when:
I disable physics for one dynamic object with
and a bit later I re-enable it with
it falls thru static RigidBodyControl ones (like the terrain).
but… it still collides properly with dynamic ones!
if I disable and re-enable it again, it will work properly again (collide with terrain); and if I do it again, the bug happens again, so it alternates…
I checked its collision group and collision mask and both are 1.
I was thinking on dumping the complete RigidBodyControl object data values (including super classes and everything that is linked to it), and compare with its bugged state, but it was all identical on the simple dump I checked; may be I can do it with some reflection…
I am still trying to find what I could have setup in that object that could be causing the bug? any clue what I should look for?
I tried to create a test case but the problem will not happen on it (I can post it but it is pointless right now). May be if I get a copy of my project and go stripping down everything to a minimum, I can prepare it. If I cant prepare a demo test case in a short time I will try to post a video.
I am still having some issues but if I remove the RigidBodyControl from spatial and from bullet, and create a fresh new (instead of re-enabling the old one), the problem will not happen (of course I guess).