CodeBase - Gravity and Bounce

Return to the CodeBase listing

Category: Math / Physics

Version: 1.0

0
0

Information

Uploaded: 22nd Jan 2005 05:21

Modified: 1st Jan 1970 01:00

Author:  RiiDii

Summary

Gravity and Bounce functions/engine.

Full Description

Use the left and right arrow keys to rotate the camera.<br /> <br /> Play around with the physics and number of balls a bit to see how it handles different scenarios. Also, different frame rates should all work identical ***EXCEPT*** if the system take a framerate hit, the Timer() seems to go out of wack. Since the functions use the Timer() for the v=at^2 formula, this can cause a sudden increase in velocity.<br /> <br /> Feel free to use these, but please give me credit. Also the prgram uses Memblocks and I'm a newb using them, so definately you are agreeing to use at your own risk (I had no problems though). Also, I would like feedback on this stuff - please and thanks in advance.

Comments

No comments yet.