how can I stop bouncing ?

jasonshowjasonshow Member Posts: 71
edited November -1 in Working with GS (Mac)
I got a ball and a floor,and set gravity of Y.
when ball drop down to floor,the ball will bounce forever,never stop!
(I'v set the maxspeed)

I want the ball bouncing (3 or 6 times),but not forever,how can I do this ?

thanks a lot.

Comments

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Try lowering the restitution on the floor and on the ball.
  • DrGlickertDrGlickert Member Posts: 1,135
    Set the restitution on the ball to less than 1.

    If restitution is 1 the ball bounces to the original position.
    If restitution is between 1.1 and 2.0 then the ball will bounce higher than where it started from.
  • jasonshowjasonshow Member Posts: 71
    thanks!
Sign In or Register to comment.