0 Favourites

Build a physics wall that stops bouncing - SOLVED

  • Hi all!

    I am trying to build a physics game similar to the classic jenga game.

    I have a solid floor and several blocks that I build a wall with. What I want is to clock on a piece of the wall and remove it. This works, however the wall doesn't stop bouncing, even when I have elasticity set to off.

    capx: dl.dropbox.com/u/93868285/Physics%20Wall.capx

    Game: dl.dropbox.com/u/93868285/Physics%20Wall/index.html

    I played around with the amount of gravity which does improve things (like 2 or 3), but sometimes I again run into a situation where the blocks simply don't stop moving / swinging as if they have an engery source of their own :)


    Answered my own question. Solved it by increasing the linear and rotational dampening.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Hi all!

    I still wasn't 100% happy and playing around with friction, elasticity and all these properties didn't really improve things.

    However I had more luck with the action: Physics world stepping

    I increased particularly one setting: Position iterations. I changed it from 3 to 30 and now the blocks settle down quickly, even at gravity 10.

    I checked the manual and while "Set stepping iterations" is explained, position iterations is not.

    So I'm wondering if someone could help me understand this particular setting. Whatever it does it solves my issue. The blocks settle down quick and the game is now really nicely playable and I can think about adding a system for players to take turns and so on...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
1,941 263,292
FlyingRam's avatar
Unread hot topic
0 Favourites
[BEHAVIOR] Chipmunk Physics
673 82,508
nelostic's avatar
Unread hot topic
124 15,593
TomCosta's avatar