# Character rotation 

**URL:** <https://forums.unrealengine.com/t/character-rotation/2253995>\
**Category:** C++\
**Tags:** c-c, c-class-wizard, c-and-bluepri, c-custommeshcomponen, c-and-blueprint, c-error, c-class, c-custom-shape, c-programming, c-cone-shape, unreal-engine, CPP, question\
**Created:** [January 1, 2025, 3:59pm UTC](https://forums.unrealengine.com/t/character-rotation/2253995 "2025-01-01T15:59:06Z")\
**Posts on this page:** 2\
**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/2253995/1 "2025-01-01T15:59:06Z")

</div>

How to make a character turn forward only when walking moving

And when standing, make it so that the camera does not affect the character’s rotation

And 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:26pm UTC](https://forums.unrealengine.com/t/character-rotation/2253995/2 "2025-01-01T16:26:03Z")

</div>

Here’s my post from your duplicate topic:

> [@Character rotation](https://forums.unrealengine.com/t/character-rotation/2253997/2):
>
> 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! innocent
