Verlet physics applied to a simple car model.

Blitz3D Forums/Blitz3D Programming/Verlet physics applied to a simple car model.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Vorderman, let me know what you think of this.....
i have a hunch that the quick flip in direction is being caused primarily by the mode switch code, from sticking to slipping, that is simply a binary decision. the verlets have lots of potential energy that is instantly released. what im trying to wrap my brain around is a way to allow the tire to start to slip gradually, and release enough energy before the car flips. all of this needs to happen over a small number of frames.

for a little proof of this concept, when i had the wheels using a constant 50 percent slip it never "flipped around".

the other contributing cause is the simple hack im using for steering. eventually i need to have a speed dependant steering method that will only allow for tight turns when velocity is slow and widen the allowable turn radius when velocity is very very high.