I am trying to implement jet rotations, and i it seems like just incrementing rotation on 1 axis is not good idea, so i have tried to find delta rotation needed to make jet look up, but all results i have got are unexpected.
my code:
FQuat cube2quat = mesh2->GetComponentQuat();
FQuat upQuat = FQuat::FindBetween(cube2quat.GetForwardVector(),cube2quat.GetUpVector())*DeltaTime*100;
mesh2->AddWorldRotation(upQuat);
UE_LOG(LogTemp, Warning, TEXT("New quat:, %s"), *(upQuat.ToString()));
UE_LOG(LogTemp, Warning, TEXT("New eruler:, %s"), *(upQuat.Euler().ToString()));
}
expected result: rotation on x axis is incrementing
actual result: angle is constant and depends on deltatime
