04.04.2017, 22:49
Quote:
Nobody will ever create a more-real speedometer... this is just another velocity calculator with a cool representation. One of the better I've seen though.
If you're wondering what I mean by more-real, think real life. A real life speedometer goes by the revolutions of the tire [and some irelevant electromagnetism stuff]. As the car rolls the speedometer should say how fast the tires are rolling, NOT how much velocity there was between it's position a second ago and now like our poor GetVehicleVelocity+floatsqroot method. Using our method a car could be going down a 45 degree slope sideways and it'll just count the velocity from the last position to the next. Using a more-real method it would and should say 0.0 if the wheels are not rotating as the car slides down that slope. |
