Need help with a physics based stacking blocks game.

ArcadeMechanics

  • Posts: 16
It's kind of like Drop Block in Stencyl Forge if you need an idea, except instead of stationary blocks, ours is affected by gravity.

So if you destroy a block in the middle, all the other blocks fall down.

Only problem is setting up the puzzle, the blocks won't stay still. They all bounce around and slide until it all topples over. I'm guessing this is an issue with box2d but I am just completely out of ideas on how to resolve this issue. Thanks for any help you can offer.

ManManAdam

  • Posts: 50
You're not making the puzzle in the scene editor first?  What's your gravity set at?

Hectate

  • *
  • Posts: 4643
The bounciness is a little bit of Box2D fun unfortunately. Have you reduced the bounciness and increased the friction of the objects at all to compensate?
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

gamegirlxl

  • Posts: 713
One of the many reasons I dislike Box2D.  It seems that it applies collisions as an afterthought.