Hey, I'm new here...
Anyhow, I'm planning a game project that will use Irrlicht, I won't say what type of game, but it is one that requires simulation of cars.
So today I've been working away at calculating car accerleration, and I think I've done it: http://www.pixelcarnage.com/dump/SpeedCalc.phps
It's not very well commented, but its all simple enough, so you should be able to figure out what is happening. It simulates the constant acceleration of three cars: A Sports Car, A Commercial Van and Something I never want to drive.
Tell me what you think! And please, if you can see a way to improve it, any way at all, let me know.
Car Acceleration
-
Rowan Lewis
- Posts: 24
- Joined: Tue Jul 11, 2006 2:24 pm
- Contact: