- #1
pacificapilot
- 3
- 0
I am programming a game in which there are no outside forces acting on the car aside from the engine. I will not be having gears, so that is not a factor. I just want to know if there is an equation I can use to calculate the car's speed at any given time. The car will start off accelerating quickly, but then as it approaches top speed, it will accelerate slower and slower until it reaches top speed. Also, finding the car's 0-60 time is easy, just a google search, but because of this curve, that does not give me the original speed. Is there a way to figure that out?
The car's stats are:
0-60 in 4.5 seconds
Top Speed: 155 MPH
Please show your steps so that I can replicate it for the other car types in my project.
The car's stats are:
0-60 in 4.5 seconds
Top Speed: 155 MPH
Please show your steps so that I can replicate it for the other car types in my project.