A simple physics model for vehicles on different surfaces?

AI Thread Summary
The discussion focuses on creating a simple physics model to simulate vehicle movement on various surfaces for a non-interactive simulation. Key input parameters include horsepower, weight, torque, and surface type, with an emphasis on the coefficient of friction for different conditions. The model should account for factors like acceleration, top speed, and environmental influences such as wet surfaces and tire types. Additionally, considerations for cornering dynamics based on vehicle mass and torque are highlighted. The goal is to develop a straightforward yet effective model that balances realism with ease of implementation.
electrodruid
Messages
17
Reaction score
0
Hi,
Just to let you know my level of knowledge/ability, I studied a degree that included some dynamics, but that was nearly 15 years ago, so I'm rusty. I'm a games programmer, and I tend to understand code (or things that can be translated into code) more easily than hardcore maths equations, but I'll take any help I can get.

So, I'm trying to figure out how to build a way to simulate different vehicles moving along different kinds of tracks. The simulation will be non-interactive, so it's not like a standard driving game where the player controls the acceleration, etc. So, to begin with, let's imagine two cars doing a straight drag race on tarmac.

What I want is to be able to input some basic stats about each car (I guess stuff like horsepower, weight, torque, etc. - but I'm open to suggestions about what will best fit the model). The output should be some kind of curve or function which describes the car's movement along the track: a car that accelerates quickly but has a limit on its top speed might lose against a car with a slower acceleration provided that the track is long enough to allow it to overtake, for example. What's the simplest way you can think of for generating this kind of output from a given set of inputs?

Ultimately I also want to factor in environmental stuff like the surface type, weather etc: Given two otherwise identical cars on a wet road surface, the one with the slick tyres will beat the one with normal weather tyres. Four wheel drive vehicles will do better than 2 wheel drive on a hilly dirt track. A powerful drag racer will beat almost anything on tarmac but will likely run into problems on dirt/sand.

For bonus points, consider tracks with corners. Again, I'm not looking for a completely realistic model, but perhaps something that takes into account that a vehicle with higher mass will presumably need to decelerate more to take sharp corners than a lighter vehicle.

Um, so this sounds like a lot - sorry! At this point I'm just looking for some pointers - suggestions as to suitable input parameters, and suitable ways to have those interact to produce a distance over time curve that will probably not be particularly physically accurate but will be a suitable "quick and dirty" way of showing how well a car with a given set of characteristics will perform on a given track. Any suggestions?
 
Physics news on Phys.org
The key issue is the coefficient of friction under different surface conditions.
 
Its a lot. I'll advice you to start with a model that has some basic functions then add more and more until it gets to your desired complexity. Say, you can start by defining the car's mass(M), force of the engine(F), frictional force(Fr), length of track, the rate at which air resistance increases with speed(ß)[in order to determine the maximum velocity ]. I'll try to work? on a function with these variables that would define the car's motion.
 
how know everything !
only thing i would like to suggest is carefully incorporate the torque factor, because sometimes having incorporated it excessively controlling car becomes very difficult , turning becomes very problematic as in GTA IV
 
Thread ''splain this hydrostatic paradox in tiny words'
This is (ostensibly) not a trick shot or video*. The scale was balanced before any blue water was added. 550mL of blue water was added to the left side. only 60mL of water needed to be added to the right side to re-balance the scale. Apparently, the scale will balance when the height of the two columns is equal. The left side of the scale only feels the weight of the column above the lower "tail" of the funnel (i.e. 60mL). So where does the weight of the remaining (550-60=) 490mL go...
Consider an extremely long and perfectly calibrated scale. A car with a mass of 1000 kg is placed on it, and the scale registers this weight accurately. Now, suppose the car begins to move, reaching very high speeds. Neglecting air resistance and rolling friction, if the car attains, for example, a velocity of 500 km/h, will the scale still indicate a weight corresponding to 1000 kg, or will the measured value decrease as a result of the motion? In a second scenario, imagine a person with a...
Hello, I'm joining this forum to ask two questions which have nagged me for some time. I am in no way trolling. They both are presumed obvious, yet don't make sense to me. Nobody will explain their positions, which is...uh...aka science. I also have a thread for the other question. Yes, I'm questioning the most elementary physics question we're given in this world. The classic elevator in motion question: A person is standing on a scale in an elevator that is in constant motion...

Similar threads

Back
Top