I’m using the right stick to set the rotation of my ACharacter in the APlayerController.
Using
if (LookDirection.SizeSquared() > 0.0f)
{
const FRotator direction = LookDirection.Rotation();
Character->SetActorRotation(direction);
}
Works very well, but
if (LookDirection.SizeSquared() > 0.0f)
{
const FRotator direction = LookDirection.Rotation();
Character->FaceRotation(direction);
}
Does not.
Am I misunderstanding the function?
I would like the character to face the direction with the normal rotating speed limits on an ACharacter without having to duplicate that code outside of the ACharacter.