FGear Vehicle Physics (v1.4)

Hi @mahlukat,
Also you can increase a variable during drifting. I used a method like this:



    FVector v = mVehicle->GetVelocity();
    FRotator r = mVehicle->GetActorRotation();
    float latVelocity = r.UnrotateVector(v).Y;

    bool bDrifting = (FMath::Abs(latVelocity) > MIN_SPEED_FOR_DRIFT) && (mVehicle->getTransmission()->getCurGear() > 0);

You can try this demo if you have android device : TireBurner-Android-Shipping-armv7-es2.apk - Google Drive