physics base arcade racer

i think what causes it to tip forward is the calculate acceleration since i think its carrying it on after going off a ramp.

theres a vector that is what bringing the kart down it stops it from just flying of but its tips forward maybe because of the forward momentup