FIRST DOUBT:
But I have a problem:
- I have 10 objects that are placed one close to another, when I do ISLAND_SLEEPING and ACTIVE_TAG it disable and enable this object within an area.
- BUT if I want these ten objects to be deactivated and activated INDIVIDUALLY not in a Island? Is there a way to do it?
I know I can disable it with RigidBody.DISABLE_SIMULATION, but is there a way to perform ISLAND_SLEEPING with these ten objects close, (reducing the Island area)?
SECOND DOUBT (related to first one):
I'm using JBullet, a java port of bullet. I want to know if this behaviour is correct:
I have 10 cylinders in a plane.
1- I deactivate them with:
mRigidBody.forceActivationState(RigidBody.DISABLE_SIMULATION);
2- I activate them with:
mRigidBody.forceActivationState(RigidBody.ACTIVE_TAG);
The Activation and Deactivation works, but when I active again the physics becomes instable. The physics shouldn't be instable or using DISABLE_SIMULATION makes the objects to lose their properties?