Hey guys,
if (HitData.bBlockingHit)
{
/*-------------This is completed-------*/
//do ray cast
//calculate suspension
//addforce
}
else
{
//we are not on floor
//add gravity to the vehicle so it comes down faster
}
So when you have linear damping set to one, and you fall off an object, then your controlled Pawn will slowly fall down, due to the linear damping (drag/friction) being 1. If you set this to back to 0.1 whilst your Pawn is in mid air, then it will feel unnatural.
How can I add a downward force to my vehicle if I am not on the floor?