I've been creating a 2D (above view) vehicle simulation as a hobby project, and (as is often the case) a problem which I assumed would be simple has turned into the sticking point of the project.
Essentially, I want to be able to calculate the total load on each tire given arbitrary vehicle configurations.
Assuming we just had an 200kg engine, and it was placed exactly in the centerpoint between 4 tires, suspended there by magical zero-mass connections, there would be 500N evenly distributed across each tire. If you put it directly over the front axle between the two tires, there'd (presumably) be 1000N on each front tire and nothing on the rear tires.
But what if it were overhanging past the front tires? Would there be less than 1000N on each front tire, and negative load on the rear tires due to the front axle acting as a lever?
Then on top of that, what about adding other components, like a fuel tank offset to one side?
In googling for this I've found all sorts of confusing things, and I have a feeling I'm overcomplicating it as a result.
Is there a general solution for such a system?
EDIT: I have mocked up a testing app, which is available here: http://www.fastswf.com/H4o9u_c You can move the tires or blue weights by clicking and dragging. Hold A while clicking to add a weight. Each weight is 1000N.
My method was to project the weight on the line between the middle of the front tires and the middle of the rear tires, use this to find the front/back weight distribution, then do the same projection for the middle point between the left tires and right tires. The amount of force seems to add up (barring rounding errors it's always the same as the net weight), but I don't know if this is correct or even ballpark correct. One thing that concerns me is that the black circle (intersection point between the 4 tires) and the intersection between the mid-way centerpoints is quite different, and I'm not sure which one is more relevant to calculate from.