# Bone Evaluation Broken with FaceUp Bone

**URL:** <https://forums.unrealengine.com/t/bone-evaluation-broken-with-faceup-bone/1754990>\
**Category:** Character & Animation\
**Tags:** bone-transform, unreal-engine, question\
**Created:** [March 15, 2024, 11:50pm UTC](https://forums.unrealengine.com/t/bone-evaluation-broken-with-faceup-bone/1754990 "2024-03-15T23:50:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loux\_xavier](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loux_xavier/32/1201519_2.png) [@Loux\_xavier](https://forums.unrealengine.com/u/Loux_xavier)\
**Post date:** [March 15, 2024, 11:50pm UTC](https://forums.unrealengine.com/t/bone-evaluation-broken-with-faceup-bone/1754990/1 "2024-03-15T23:50:32Z")

</div>

Hello!  
I ran into a weird bug. When a bone is strictly facing up and the animation keeps it facing up, its own position evaluation and some of these children’s position evaluation is broken.

![BrokenFaceUpBone-ezgif.com-optimize](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/d/5fd9d6ca3c3ce5121a84a2db48e455af5d1f3900.gif)

I checked the FBX files and all is fine.  
 ![NotBrokenFaceUpBone-ezgif.com-optimize](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/6/576b8e7c555b9877bfbd8f2081a7bad0adc19d5e.gif)

The problem is with the import into Unreal Engine. It looks like Unreal produces a gimbal lock on import ?

These are the values used in blender.  
Bone head: (8.601676881880849e-08, 3.524153232574463, 164.54409790039062)  
Bone tail: (8.601676881880849e-08, 3.524153232574463, 164.54409790039062)  
Bone rotation at frame 0: (0.0, 0.0, 0.0)  
Bone rotation at frame 5: (0.0, 10.0, 0.0)  
Bone rotation at frame 10: (10.0, 10.0, 00.0)  
Bone rotation at frame 15: (10.0, 10.0, 10.0)

Do you have any ideas of what could cause this?

---

<div class="post-metadata">

**Author:** ![Loux\_xavier](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loux_xavier/32/1201519_2.png) [@Loux\_xavier](https://forums.unrealengine.com/u/Loux_xavier)\
**Post date:** [March 30, 2024, 8:03pm UTC](https://forums.unrealengine.com/t/bone-evaluation-broken-with-faceup-bone/1754990/2 "2024-03-30T20:03:30Z")

</div>

I found that:  
With Blender I use an modifier to copy the bone transformation of another bone. The precision is not absolute and this creates a very small shift in the bone scale.

 ![scale offset](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/c/f/3cfbe40d7de67a0191ae79aa79177ce61b7084f5.png)

That small shift make the animation export break with Unreal.

Matrix World scale (Pelvis): x=1.00000000000000000000000000000000000000000000000000, y=0.99999994039535522460937500000000000000000000000000, z=0.99999040365219116210937500000000000000000000000000

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/2/b525673cdbc4dd13eb882a39dccfd9c02c63e721.jpeg)

Matrix World scale (Pelvis): x=1.00000000000000000000000000000000000000000000000000, y=0.99999994039535522460937500000000000000000000000000, z=1.00000000000000000000000000000000000000000000000000

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/b/efb4dc6475913a72bada7074b4c5f82286ba2851.jpeg)

I do not understand why that small shift break the animation import.
