basically I’m using spring and cylinder constraints for the chassis and I already increased the friction and friction weight that did help a lot but there’s still this one issue
basically the car still flips over / slips off when driving on a steep wall
I heard someone used VectorForces to fix this issue but not sure how they did it
I apply the vector force on the normal vector of the surface the vehicle is on that way the car basically can’t slip off or bounce off when driving up a steep hill or wall
I also prevent the car from climbing up 90 degree angled walls or walls or hills that are too steep by checking the dot product for the angle if it’s too high I don’t apply the force.
What I did to help a vehicle stay upright / with its wheels on the ground is to change the centre of gravity of the model. You can do this by setting Massless to true for all parts of the vehicle and adding an invisible, non-interactable part welded hovering below the vehicle with a high mass.