Gravity and collisions
Doesn't require much code to get a realistic-ish looking bouncing done.
It has a few flaws though... the ball goes like one of those superballs when it goes up or down which isn't necessarily a bad thing but for anything else than a superball simulation...
Labels: javascript, physics
2 Comments:
it has a certain gravity to it :)
By Anonymous, at 6:21 AM
How Do I make gravity in C#?
By Anonymous, at 6:46 PM
Post a Comment
<< Home