Back to search
PatternGold tierMovement

Third person camera relative movement using controller rotation

Updated 3mo ago
UE 5.0UE 5.1UE 5.2UE 5.3UE 5.4UE 5.5UE 5.6UE 5.7#third#person#camera#relative#movement

Reference

Pattern: EnhancedInputAction IA_Move → GetControlRotation → MakeRotator(0, Yaw, 0) → GetForwardVector(YawRotation) = ForwardDir, GetRightVector(YawRotation) = RightDir. AddMovementInput(ForwardDir, InputY) + AddMovementInput(RightDir, InputX). SpringArm: UsePawnControlRotation=true. CharacterMovement: OrientRotationToMovement=true, bUseControllerDesiredRotation=false.