Build a physics wall that stops bouncing - SOLVED

0 favourites
  • 2 posts
From the Asset Store
Bouncing ball
$9.99 USD
Template for a bouncing ball game, fully documented in comments and video
  • 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 :)

    DOH!

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

  • Try Construct 3

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

    Try 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)