# Actor rotation doesn't change in animation blueprint

**URL:** <https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662>\
**Category:** Character & Animation\
**Tags:** unreal-engine, question\
**Created:** [May 27, 2019, 1:24pm UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662 "2019-05-27T13:24:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![FunApple](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FunApple](https://forums.unrealengine.com/u/FunApple)\
**Post date:** [May 27, 2019, 1:24pm UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/1 "2019-05-27T13:24:17Z")

</div>

In first blueprint is how I rotate my character, it works well.  
In second animation blueprint actor rotation == 0 always. What may be wrong?

 ![278126-bp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/0/be0637a7293190da7d8f6c77c1d6c835b49dc719.png)

---

<div class="post-metadata">

**Author:** ![Unfathomable](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Unfathomable](https://forums.unrealengine.com/u/Unfathomable)\
**Post date:** [May 27, 2019, 1:32pm UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/2 "2019-05-27T13:32:29Z")

</div>

Could it be that your “Character” variable is not being set?

If you remove the Character input from “GetActorRotation” in “Event Blueprint Update Animation” and leave it as “self”, does it still produce 0,0,0?

---

<div class="post-metadata">

**Author:** ![FunApple](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FunApple](https://forums.unrealengine.com/u/FunApple)\
**Post date:** [May 27, 2019, 1:50pm UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/3 "2019-05-27T13:50:42Z")

</div>

Character is set of course in animBP and works well, for example, char-\>get velocity-\>vectorlength shows what it must, only problem with rotation

---

<div class="post-metadata">

**Author:** ![Unfathomable](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Unfathomable](https://forums.unrealengine.com/u/Unfathomable)\
**Post date:** [May 27, 2019, 2:05pm UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/4 "2019-05-27T14:05:54Z")

</div>

Apologies, I didn’t notice that it was your animation blueprint shown in the white box!

---

<div class="post-metadata">

**Author:** ![duderseb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/duderseb/32/558202_2.png) [@duderseb](https://forums.unrealengine.com/u/duderseb)\
**Post date:** [May 27, 2019, 3:45pm UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/5 "2019-05-27T15:45:39Z")

</div>

If you do a PrintString from the result of Try Get Pawn Owner, do you get the expected owner?

---

<div class="post-metadata">

**Author:** ![FunApple](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FunApple](https://forums.unrealengine.com/u/FunApple)\
**Post date:** [May 28, 2019, 6:29am UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/6 "2019-05-28T06:29:33Z")

</div>

Yes. As I said above everything works well with that actor, only problem is rotation. When I get this actor transform while moving it around location changes but rotation always the same, but it turns visually as it must.

---

<div class="post-metadata">

**Author:** ![kfpopeye](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kfpopeye](https://forums.unrealengine.com/u/kfpopeye)\
**Post date:** [July 10, 2022, 11:48pm UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/7 "2022-07-10T23:48:55Z")

</div>

Anyone know a work around for this? UE5 doesn’t seem to update the actors rotation in animation blueprints either.

---

<div class="post-metadata">

**Author:** ![kfpopeye](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kfpopeye](https://forums.unrealengine.com/u/kfpopeye)\
**Post date:** [July 12, 2022, 5:20am UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/8 "2022-07-12T05:20:43Z")

</div>

Figured out a workaround. I created an “angle” variable in my character blueprint which is updated in the tick event and made it public so my animbp could read it.

I submitted a bug report.

---

<div class="post-metadata">

**Author:** ![aoisensi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/aoisensi/32/623825_2.png) [@aoisensi](https://forums.unrealengine.com/u/aoisensi)\
**Post date:** [August 7, 2022, 5:01am UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/9 "2022-08-07T05:01:14Z")

</div>

I have same problem…

---

<div class="post-metadata">

**Author:** ![sulldiggs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sulldiggs](https://forums.unrealengine.com/u/sulldiggs)\
**Post date:** [December 6, 2022, 7:33pm UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/10 "2022-12-06T19:33:11Z")

</div>

Old thread but I had the same issue and poked around in code to dig up the cause (in my case, anyway). In case someone stumbles upon this - I suspect the issue is the “control rotation” (driven by PlayerController) fighting your character BP for which is actually setting the actor’s rotation.

By default this setting is true, which causes some code to update the character rotation (which is subsequently stomped on by your character BP). Untick this box and you’ll likely be good to go.

![character-controlrotation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/d/10d8f35c014aabf98260f8878f757d20eed179ba.png)

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 7, 2022, 2:38am UTC](https://forums.unrealengine.com/t/actor-rotation-doesnt-change-in-animation-blueprint/449662/11 "2022-12-07T02:38:51Z")

</div>

Old thread as it may be, it’s 100% wrong.

Animation blueprints should have exactly 0 code/logic.

The rotation happens on the actor - the actor sends a value to the animation blueprint - the animation blueprint uses that value somewhere (in a state machine).

This was indeed wrong from inception, its just that epic never bothered correcting any sample code, so its been wrong for 10 plus years.

Second.  
The “rotation” for an actor means next to nothing to an animation because the animations are in Local space.

Third.  
after a cast you always Is Valid at least once before use.  
This prevents crashes as well as editor warnings.

Fourth, in case the preamble wasnt clear.  
Send the rotation from the cbaracter BP to the animation blueprint by:

1. drag in skeletal mesh. Drag off it. Type anim instance.

2. cast anim instance to class.

3. validate value (isvalid?) And store. On false, probably repeat the process, or issue a warning.

4. save value of casted/validated animation blueprint.

5. set a bool when is valid is true.

6. on tick or whatever, check the bool you stored before using the animation blueprint variable.  
Or, possibly check that the variable is not null (type == out of a drag. Compare to nothing).

7. drag off the animation blueprint variable, and set the rotation variable value to the character rotation.

Done.
