# More Blender / root-motion woes

**URL:** <https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356>\
**Category:** Character & Animation\
**Tags:** unreal-engine\
**Created:** [August 12, 2016, 7:26pm UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356 "2016-08-12T19:26:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rpav](https://forums.unrealengine.com/u/rpav)\
**Post date:** [August 12, 2016, 7:26pm UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356/1 "2016-08-12T19:26:09Z")

</div>

To start, I’ve read everything I could find on how root motion should work, how to enable root motion, show → “Process Root Motion”, etc. And in fact, it _does_ work… just not with Blender FBX. There, it **2/3rds** works, which is the odd thing. (Other animations work fully.)

With root motion _disabled_, I see the proper red bone/path warning that root motion exists. This animation plays properly as-exported, along its root-motion path. When I enable root motion, the animation is properly locked in place, as expected. However, when I enable “Process Root Motion” … it processes a _very tiny_ root motion, i.e., it slowly creeps along the path as if it’s scaled way down. This is the same whether I use the 7.4 binary exporter (with an “armature” root, with root motion keyed to the armature), or a “fixed” 6.1 ascii export, with a single root. I have attached the latter. (Note it needs a 100x scale on importing, which the 7.4 exporter does not, but this version is less ambiguous.)

Importing a similar animation from Maya LT seems to produce the expected result: proper red path, properly fixed in place, and proper process-root-motion.

I’m using 4.12.4 compiled for x64 with VS2015 Community, along with Blender 2.77a.

Hopefully I’m doing something obviously wrong.

---

<div class="post-metadata">

**Author:** ![rpav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rpav](https://forums.unrealengine.com/u/rpav)\
**Post date:** [August 12, 2016, 10:37pm UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356/2 "2016-08-12T22:37:39Z")

</div>

**Followup:** OK so apparently there’s an issue scaling. Unscaled, the animation plays fine. Importing with scale (i.e., UE4’s uniform scale on import) apparently does not apply to that part of the animation after extracted for root motion.

Another problem (on the Blender side I’m assuming for most of this) is that while you can scale up the object and the armature, then apply the scale, _and_ the animation looks correct in Blender, it _still_ exports incorrectly! If the animation is keyed after scaling, _that_ exports and imports correctly.

If there’s a better way to do this I’d love to know. 😉

---

<div class="post-metadata">

**Author:** ![Obihb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/obihb/32/88719_2.png) [@Obihb](https://forums.unrealengine.com/u/Obihb)\
**Post date:** [August 13, 2016, 8:15am UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356/3 "2016-08-13T08:15:34Z")

</div>

Not sure if this will work with Blender or if it will work any better than what you have done, but you could export it as is, then import that FBX back to Blender, scale it, and then export it again. I don’t really have Blender experience and don’'t know how you can deal with scaling in different ways in there but I guess you can try this method.

---

<div class="post-metadata">

**Author:** ![rpav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rpav](https://forums.unrealengine.com/u/rpav)\
**Post date:** [August 14, 2016, 2:27pm UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356/4 "2016-08-14T14:27:27Z")

</div>

Blender exports aside (as they are a separate issue), it seems that UE4 is importing root motion animation with an _inverse_ of the scale specified. If I import an animation with a scale of 1.0, even if it’s tiny, the root motion corresponds 1:1 (before/after enable). However if I scale on import to say 10, the model and other animation are larger as expected, including the non-enabled root motion, but after enabled, it seems to be much smaller.

Likewise if I import and scale by a _fraction_, like 0.1, the post-enable root motion seems to be much _bigger_.

---

<div class="post-metadata">

**Author:** ![Obihb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/obihb/32/88719_2.png) [@Obihb](https://forums.unrealengine.com/u/Obihb)\
**Post date:** [August 15, 2016, 10:30am UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356/5 "2016-08-15T10:30:34Z")

</div>

Did you do any actual measurement?. It sound like possibly UE4 ignore scale. So if your character is 10 times bigger, the same distance will be small compared to a 1:1 scale. Or does it actually shorten that distance?, divide by 10?. Meaning, is a 1 meter forwards travel always 1 meter, or does that change?. It makes more sense that it probably always is 1 meter but because the character is much bigger, it seems shorter, because now it should be 10 meters.

If this is the case, it could be worth posting on answehub, see maybe if Epic can take this into account with their importer. Or if it’s purely a Blender export problem.

---

<div class="post-metadata">

**Author:** ![rpav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rpav](https://forums.unrealengine.com/u/rpav)\
**Post date:** [August 15, 2016, 3:41pm UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356/6 "2016-08-15T15:41:00Z")

</div>

I’m going mostly off the grid in UE4 to judge measurements; I assume this does not change in meaning (i.e., 1 uu or meter or whatnot is always the same number of squares).

If I import at 1.0 scale, say, I get a small box that moves, say, 1 meter. I would expect that if I import with scale 10, this would either:

1. Import a box 10x the size that now moves 10 meters.
2. Import a box 10x the size that still moves 1 meter.

Instead, it seems to import a box 10x the size that now moves _1/10th_ of a meter, though it’s hard to say if this is precise or not. Likewise, if I import a box with 0.1 scale, it’s now a _very_ tiny box that moves 10 meters. This seems to be the case regardless of which program I use to export FBX. Note that this also **only** happens with _root motion enabled:_ if root motion is _disabled_, the animation seems to play properly (scaled and all, i.e. option 1 above).

---

<div class="post-metadata">

**Author:** ![Obihb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/obihb/32/88719_2.png) [@Obihb](https://forums.unrealengine.com/u/Obihb)\
**Post date:** [August 16, 2016, 7:59am UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356/7 "2016-08-16T07:59:14Z")

</div>

Ok, yeah I get it, I’d say make a post on answerhub bug reports section and see what Epic guys have to say. It may very well be a bug on the importer, or they can help you deal with it if it’s not, either way it sounds like something that should be brought to their attention, even if it’s a rare case or whatever, you know.

---

<div class="post-metadata">

**Author:** ![Hevedy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hevedy](https://forums.unrealengine.com/u/Hevedy)\
**Post date:** [August 16, 2016, 10:40am UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356/8 "2016-08-16T10:40:58Z")

</div>

> [@rpav;581299](#):
>
> I’m going mostly off the grid in UE4 to judge measurements; I assume this does not change in meaning (i.e., 1 uu or meter or whatnot is always the same number of squares).
> 
> If I import at 1.0 scale, say, I get a small box that moves, say, 1 meter. I would expect that if I import with scale 10, this would either:
> 
> 1. Import a box 10x the size that now moves 10 meters.
> 2. Import a box 10x the size that still moves 1 meter.
> 
> Instead, it seems to import a box 10x the size that now moves _1/10th_ of a meter, though it’s hard to say if this is precise or not. Likewise, if I import a box with 0.1 scale, it’s now a _very_ tiny box that moves 10 meters. This seems to be the case regardless of which program I use to export FBX. Note that this also **only** happens with _root motion enabled:_ if root motion is _disabled_, the animation seems to play properly (scaled and all, i.e. option 1 above).

I think you mean this problem ?

> **[\[4.8 P1\] Unreal bones scale rotate problem](https://forums.unrealengine.com/questions/225569/48-p1-unreal-rotate-bone-problem.html)**
>
> At rotate a model in the skeletalmesh editor from the root bone don’t rotate the correct degrees (happend with Blender models). Show 250º but only move about 15º https://dl.dropboxusercontent.com/u/28070491/UE/Forums/WeaponUnreal.png Post of the...

> **[Blender to UE4 problems with bones & Unreal](https://forums.unrealengine.com/showthread.php?69576-Blender-to-UE4-problems-with-bones-amp-Unreal)**
>
> I got a simple weapon rigged, some bones are connected physically and others no, and after export to UE4 i got this list of problems: The bones now have new bones called \_end ?? All bones are connected with new bones ? At try to rotate the...

Backlogged by Epic [Unreal Engine Issues and Bug Tracker (UE-15388)](https://issues.unrealengine.com/issue/UE-15388)

---

<div class="post-metadata">

**Author:** ![rpav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rpav](https://forums.unrealengine.com/u/rpav)\
**Post date:** [August 16, 2016, 1:51pm UTC](https://forums.unrealengine.com/t/more-blender-root-motion-woes/71356/9 "2016-08-16T13:51:16Z")

</div>

> [@Hevedy;581749](#):
>
> I think you mean this problem ?  
> [[4.8 P1] Unreal bones scale rotate problem - Character & Animation - Epic Developer Community Forums](https://answers.unrealengine.com/questions/225569/48-p1-unreal-rotate-bone-problem.html)  
> [Blender to UE4 problems with bones & Unreal - Character & Animation - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?69576-Blender-to-UE4-problems-with-bones-amp-Unreal)

Aha. This appears similar; except it’s for more than rotation, _all_ motion seems to be scaled inversely.

> [@Hevedy;581749](#):
>
> Backlogged by Epic [Unreal Engine Issues and Bug Tracker (UE-15388)](https://issues.unrealengine.com/issue/UE-15388)

☹
