FGear Vehicle Physics (v1.4)

for allowReverse just get rid of the conditions like:

else /*if (!allowReverse)*/ mRealSpeed = FMath::Lerp(mRealSpeed, 0.0f, clutch);
...
else /*if (!allowReverse)*/ mSpeedOverflow = 1.0f;

since you want the behavior where it’s false.

wireframe code is a bit more involved, i’ll take a look and paste here when I get the time.