# How to implement PAWN root motion

**URL:** <https://forums.unrealengine.com/t/how-to-implement-pawn-root-motion/392385>\
**Category:** Character & Animation\
**Tags:** unreal-engine, implementation, pawn, CPP, question\
**Created:** [May 1, 2017, 4:27pm UTC](https://forums.unrealengine.com/t/how-to-implement-pawn-root-motion/392385 "2017-05-01T16:27:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_54a78b5d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_54a78b5d](https://forums.unrealengine.com/u/anonymous_user_54a78b5d)\
**Post date:** [May 1, 2017, 4:27pm UTC](https://forums.unrealengine.com/t/how-to-implement-pawn-root-motion/392385/1 "2017-05-01T16:27:56Z")

</div>

Hello  
I found out that root motion feature works only with **character** class - because of the character movement component.  
I’d like to use root motion in my **pawn** classes, because:

1. I have already written a big part of my character’s logic as a pawn inheriting class, and I don’t want to rewrite it.
2. I don’t want to use character class, because it collides with my movement logics.

I’m pretty sure someone did it actually, but I couldn’t google it though.  
Any tips on how I can **implement root motion** myself? Documentation is really poor unfortunately.

---

<div class="post-metadata">

**Author:** ![Heber\_Ryan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/heber_ryan/32/926708_2.png) [@Heber\_Ryan](https://forums.unrealengine.com/u/Heber_Ryan)\
**Post date:** [November 2, 2023, 3:11am UTC](https://forums.unrealengine.com/t/how-to-implement-pawn-root-motion/392385/2 "2023-11-02T03:11:42Z")

</div>

Did anyone solve this problems? Need help!

---

<div class="post-metadata">

**Author:** ![eblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eblade](https://forums.unrealengine.com/u/eblade)\
**Post date:** [November 3, 2023, 1:59am UTC](https://forums.unrealengine.com/t/how-to-implement-pawn-root-motion/392385/3 "2023-11-03T01:59:37Z")

</div>

well, it looks like all of the code that handles root motion is in the CharacterMovementComponent. So, your choices include … inheriting from CMC, or moving the code from CMC to MC. Or writing your own root motion handling.

Probably easiest would be to use CharacterMovementComponent, set it’s default movement mode to a custom mode, and implement your movement as a custom mode. However, that would require a Character.

---

<div class="post-metadata">

**Author:** ![Sean\_Maxhell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Maxhell](https://forums.unrealengine.com/u/Sean_Maxhell)\
**Post date:** [March 1, 2024, 11:13pm UTC](https://forums.unrealengine.com/t/how-to-implement-pawn-root-motion/392385/4 "2024-03-01T23:13:50Z")

</div>

Has anyone ever managed to solve this absurd problem?

---

<div class="post-metadata">

**Author:** ![Sean\_Maxhell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Maxhell](https://forums.unrealengine.com/u/Sean_Maxhell)\
**Post date:** [June 7, 2024, 10:47am UTC](https://forums.unrealengine.com/t/how-to-implement-pawn-root-motion/392385/5 "2024-06-07T10:47:11Z")

</div>

We are still here waiting for answers.

---

<div class="post-metadata">

**Author:** ![BoyceCecil](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/boycececil/32/986930_2.png) [@BoyceCecil](https://forums.unrealengine.com/u/BoyceCecil)\
**Post date:** [November 22, 2024, 10:32am UTC](https://forums.unrealengine.com/t/how-to-implement-pawn-root-motion/392385/6 "2024-11-22T10:32:05Z")

</div>

We are still here waiting for answers.
