I The problem of simulating absolute grip

  • I
  • Thread starter Thread starter quickquestion
  • Start date Start date
  • Tags Tags
    Absolute
AI Thread Summary
The discussion centers on the challenges of simulating tire grip in a physics engine, particularly with the constraints of Box 2D, which lacks wheel functionality. The user aims to create a model where tires maintain 100% grip, acknowledging the inherent contradiction of achieving zero lateral velocity with a rotating car. They express frustration with existing resources, noting that many fall short of realistic physics, especially regarding friction models. The user references Brian Beckman's work on car physics and the complexities of the "combined grip/slip" equation, indicating a need for a more accurate representation of tire behavior. Ultimately, they seek recommendations for better car physics examples that align with their simulation goals.
quickquestion
Messages
60
Reaction score
5
Ok, so I'm not even bothering with tire friction simulation anymore. What I'm trying to simulate is a tire that has 100% grip at all times (no lateral velocity.) Now you see that the statement I just made has a contradiction in it...If a car has 4 tires, and if a car is rotating, it is impossible for all 4 tires to have zero lateral velocity (unless all 4 tires have ackerman steering.)
However, using ackerman steering would simply be a cop-out way for never really having to solve the underlying problems.
So basically, I am going to list the problems with simulating absolute grip here (For now we are completely ignoring friction equations and just trying to have tires that try their best to grip 100%.)
upload_2017-4-10_10-57-0.png

to explain problem 1 more in depth, the problem is phy_speed updates only after the physics has been applied, so that the entity must first move forward before it can change the lateral velocity of the tires.

To explain more of problem 2 more, the overall goal is to cancel all lateral velocity of the tire...This results in pure longitudal velocity for each tire...BUT if this is the goal...then look at the paralelogram location of the tires...the actual destination of the tires cannot be this, because each tire follows a curve with a radius, the path of the inside tire cannot be same length as the outside tire...thus simply putting the tires where the pure longitudal velocity indicates, cannot possibly be the right method.

I am really at a loss. Any Brian Beckman's in the audience?
 
Last edited:
Physics news on Phys.org
Wheel speed difference . Inside pair v outside pair .
 
quickquestion said:
I am really at a loss. Any Brian Beckman's in the audience?
Have you actually tried doing a web search on car physics simulation? There seems to be plenty out there, including example code etc.
 
Nidum said:
Wheel speed difference . Inside pair v outside pair .
Yes, but we are dealing with Box 2D physics, it has no such thing as wheels. All we have to work with is abstract thrust vectors. So in terms of Box 2D, we are looking to cancel the sideways speed of the wheels, and I'm not sure how knowing the inside longitudal speed will give us the needed sideways force. Basically I will say exactly what I am after: Basically I am trying to find an equation that will tell me the correct amount of sideways force to apply to each wheel. So that right there basically sums up what I'm after.

A.T. said:
Have you actually tried doing a web search on car physics simulation? There seems to be plenty out there, including example code etc.
Have done tons of searching, none really suited my fancy. Some examples were better than others, Iforce 2D was pretty bad and basic, others were more advanced but still not quite right or realistic. I stumbled upon Brian Beckman's car physics and he said it was basically not an exact science, and he was the first guy to discover the "combined grip/slip" equation. He said he wasn't sure his math was right (this document was 10 years ago.) The reason for this is I suspect most fall prey to the Newtonian physics friction problems...Newtonian models give an incorrect analysis of friction, In real life a car-wheel (longitudally), behaves like a cog on a toothed rail. But laterally, it behaves like a damping field. Newtonian model attempts to crudely represent behaviors as a thrust force (which, unfortunately, thrust forces are the pretty much the only available functions available to my physics engine.)

That being said, what particular car physics examples do you recommend for me?
 
Thread 'Question about pressure of a liquid'
I am looking at pressure in liquids and I am testing my idea. The vertical tube is 100m, the contraption is filled with water. The vertical tube is very thin(maybe 1mm^2 cross section). The area of the base is ~100m^2. Will he top half be launched in the air if suddenly it cracked?- assuming its light enough. I want to test my idea that if I had a thin long ruber tube that I lifted up, then the pressure at "red lines" will be high and that the $force = pressure * area$ would be massive...
I feel it should be solvable we just need to find a perfect pattern, and there will be a general pattern since the forces acting are based on a single function, so..... you can't actually say it is unsolvable right? Cause imaging 3 bodies actually existed somwhere in this universe then nature isn't gonna wait till we predict it! And yea I have checked in many places that tiny changes cause large changes so it becomes chaos........ but still I just can't accept that it is impossible to solve...
Back
Top