Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Why does ball bounce higher off the ground? — Gideros Forum

Why does ball bounce higher off the ground?

ZizanymanZizanyman Member
edited June 2015 in General questions
I am using box2d to make a flappy bird clone. When you tap the screen, the ball goes up. However, for some reason, it launches higher when you launch it from off the ground than it does when you click in midair. Here are the physics settings of the ball:

shape = circle, density = 1.0,
friction = 0.1, restitution = 0

And of the wall:

shape = poly, density = 1.0,
friction = 0.1, restitution = 0

Does anybody know why this is happening?

Comments

  • zeroexuzeroexu Member
    edited June 2015
    Hello, First of all sorry for my Inglés.

    Have verified Friend That When You tap on the screen ... (I suppose you added onMouseDow Listener) These applying force more than once, try to have a Variable That controls the state Until the end of the impulse That These standing.

    Likes: ar2rsawseen

    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.