I am trying to rotate my vector towards another Vector.
I can already instantly update the vector to match that direction, however I cannot figure out how to get this to say a 1 degree per second rotation.
FVector targetDirection = (HomingTargetComponent->GetComponentLocation() - UpdatedComponent->GetComponentLocation()); FRotator directionBetween = targetDirection.Rotation() - Velocity.Rotation(); Velocity = directionBetween.RotateVector(Velocity);
What I am struggling with is converting the rotation between to a total rotation amount of 1 degree. Then I can scale that to the amount I want.