Reducing bounciness
MattVollet
Member Posts: 86
What do I use to reduce the bounciness when object collides with another?
Thanks,
Matt.
Thanks,
Matt.
Comments
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
Thank you!
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.
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.