Reducing bounciness

MattVolletMattVollet Member Posts: 86
edited November -1 in Working with GS (Mac)
What do I use to reduce the bounciness when object collides with another?

Thanks,

Matt.

Comments

  • SlowboySlowboy Member, PRO Posts: 329
    Found it, I knew it was here somewhere!

    Restitution - Number that describes the bounciness of the actor. 0 is no bounciness. Restitution can be set to any real positive number between 0 and 2.

    http://gamesalad.com/wiki/interface_reference:actor_attributes

    Cheers
    Wayne
  • MattVolletMattVollet Member Posts: 86
    You are some type of superhero.

    Thank you!
  • CaddoMoneyCaddoMoney Member Posts: 13
    I've been trying to reduce bounciness as well, but something isn't right.
    I have a paddle with the following attributes:
    Density: 30
    Friction: 2
    Restitution: 1.2

    The ball is:
    Density: 7
    Friction: 3
    Restitution: 1.1

    When the ball strikes the paddle and goes up into the air, it bounces off a wall on the top of the screen - the attributes of the wall are:

    Density: 0
    Friction: 10
    Restitution: 0

    at times, I can position the paddle so the ball bounces from it to the wall and back down, each time it gets faster and faster, eventually it moves really fast and the ball goes to the top of the screen and just locks in place and sort of stutters in place. I don't know of that's a known issue or not, I'd like to slow the ball down the point where it can bounce off the paddle and go to the top of the screen, but not to the point where it keeps gaining and gaining speed - I wouldn't mind it gaining a little, but not like it is now. Any pointers on reducing this bounciness would be greatly appreciated.
  • rebumprebump Member Posts: 1,058
    Try using "drag" on the ball. Also, restitution settings above 0.75 tend to be a bit too bouncey if you ask me. May want to experiment with some lower restitution settings (unless it is a pinball bumper or something).
  • CaddoMoneyCaddoMoney Member Posts: 13
    Thanks for the quick reply rebump, I'll experiment more with both tonight - is there a suggested drag setting?

    It's not a pinball bumper, more of a brick breaker type of game, so I'll need to get the ball up there, just don't need the constant acceleration. Thanks again for the tip.
Sign In or Register to comment.