Face movement input direction?

Alright, so I tried enabling “Orient to Movement”, but it doesn’t seem to work very well. It angles and offsets the camera slightly, but the skeletal mesh still faces the same direction.
This is currently how I handle the strafing movement:


void ATribesmenCharacter::Strafe(float Value)
{
    if ((Controller != NULL) && (Value != 0.0f))
    {
        //Find direction
        const FRotator Rotation = Controller->GetControlRotation();
        const FVector Direction = FRotationMatrix(Rotation).GetScaledAxis(EAxis::Y);
        AddMovementInput(Direction, Value);
    }
}


Any suggestions?

1 Like