How to make a character turn forward only when walking
And when standing still, make it so that the camera does not affect the character’s rotation
Abd when character sprint rotate to movement direction
How to make a character turn forward only when walking
And when standing still, make it so that the camera does not affect the character’s rotation
Abd when character sprint rotate to movement direction
Open up your character blueprint (if the player character is pawn class, make a character class blueprint for it), navigate to the Components section on the top left, select the character movement component from there, then navigate to the Details window on the top right while still having it selected, search for “orient rotation to movement” on the search bar and enable the setting.
Hope this helps!
I mean
Character not moving (bUseControlRatationToYaw = false, bOrientRotationToMovement = true)
Character walking (bUseControlRatationToYaw = true, bOrientRotationToMovement = false)
Character sprinting (bUseControlRatationToYaw = false, bOrientRotationToMovement = true)
i already made some system but i have problem with insta rotation character when walking (i know thats couse i bUseControlRatationToYaw = true when i have imput) i need make it smooth
You can enable orient rotation to movement and disable use controller rotation yaw inside AMyPlayerCharacter()
and don’t need to change their values ever again.