[gameprogrammer] Raycast vehicle

Hi,

 

I'm making a raycast car for my racing game. Well I didn't thought it would
be so much work, but it worth, because I want 20 cars racing at the same
time.

For the racing car, I'm using only one rigid body (for the chassis) and the
wheels are just meshes (so they don't collide with the ground, I need to
calculate everything).

The suspension system keeps the car floating and based on the position of
the chassis, I draw the wheels.

My problem is, so far, is the steering behavior: How do I calculate the
forces to make the car turns? I use Newton as my physics lib.

 

Thanks,

Dirso. 

Other related posts: