# Character rotation

**URL:** <https://forums.unrealengine.com/t/character-rotation/2253997>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [January 1, 2025, 3:59pm UTC](https://forums.unrealengine.com/t/character-rotation/2253997 "2025-01-01T15:59:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PYWA\_YROD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PYWA\_YROD](https://forums.unrealengine.com/u/PYWA_YROD)\
**Post date:** [January 1, 2025, 3:59pm UTC](https://forums.unrealengine.com/t/character-rotation/2253997/1 "2025-01-01T15:59:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [January 1, 2025, 4:24pm UTC](https://forums.unrealengine.com/t/character-rotation/2253997/2 "2025-01-01T16:24:41Z")

</div>

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! 😇

---

<div class="post-metadata">

**Author:** ![PYWA\_YROD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PYWA\_YROD](https://forums.unrealengine.com/u/PYWA_YROD)\
**Post date:** [January 2, 2025, 1:26am UTC](https://forums.unrealengine.com/t/character-rotation/2253997/3 "2025-01-02T01:26:02Z")

</div>

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/9/34923241ea45ff0a9be7733c40f050d2ce7fbacc.png)

---

<div class="post-metadata">

**Author:** ![PYWA\_YROD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PYWA\_YROD](https://forums.unrealengine.com/u/PYWA_YROD)\
**Post date:** [January 2, 2025, 1:43am UTC](https://forums.unrealengine.com/t/character-rotation/2253997/4 "2025-01-02T01:43:23Z")

</div>

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/b/9fbd9640d1a67146d46c6ce53a1c5f69986f3bb5.gif)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/1/df19ac468720bd3e87bb5a2358de58303ae39995.gif)

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [January 2, 2025, 4:55am UTC](https://forums.unrealengine.com/t/character-rotation/2253997/5 "2025-01-02T04:55:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![PYWA\_YROD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PYWA\_YROD](https://forums.unrealengine.com/u/PYWA_YROD)\
**Post date:** [January 2, 2025, 12:47pm UTC](https://forums.unrealengine.com/t/character-rotation/2253997/6 "2025-01-02T12:47:33Z")

</div>

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/8/87860982028f24c49596a136b474e2461f7e8504.jpeg "UE5 - Basic Locomotion: Directional Movement (REPLICATED)") ](https://www.youtube.com/watch?v=dRdMCcd3Fwc)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 1, 2025, 12:47pm UTC](https://forums.unrealengine.com/t/character-rotation/2253997/7 "2025-02-01T12:47:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
