I'm facing an issue while creating a phyisics-based puzzle game: I need to create some stacks of square (more generally rectangular) boxes.
The goal of the game is to destroy these boxes in a specific order to obtain things.. but this is OT
I observed that something does not behave as expected when stacks are built. This is my example CAPX done with a Beta r112 release:
Link to CAPX
text mode: https://www.dropbox.com/s/c4j63gjzn6e17bt/physicsStack.capx
As you can see, in the Layout 1, the first-left stack is self shaking while the geometry is the same of the second one.. Why?
In the Layout 2 I tried a trick: I set the "immovable" property when the speed of the Master block (the one with the well-known Metallica's "M") is lower than a treshold level.
Everytime a block is destroyed (or the master block is clicked) the physics is restored setting "movable" to every brick.
It is a work-in-progress trick that doesn't solve, because everytime the property "movable" is set, every block try to fall and then they gain its own position again.
I think every brick it feels itself as an infinite-mass object just for a short time when there is the 'immovable to movable' switch.
After this chatterbox post, the question is: does someone know a way to avoid the self-shaking behavior of a stack of objects built up that way?
Thanks in advance