# Transform Rotation issue

**URL:** <https://forums.unrealengine.com/t/transform-rotation-issue/490989>\
**Category:** Character & Animation\
**Tags:** player-rotation, unreal-engine, question\
**Created:** [November 16, 2021, 8:27pm UTC](https://forums.unrealengine.com/t/transform-rotation-issue/490989 "2021-11-16T20:27:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidTveraas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidtveraas/32/1058281_2.png) [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Post date:** [November 16, 2021, 8:27pm UTC](https://forums.unrealengine.com/t/transform-rotation-issue/490989/1 "2021-11-16T20:27:01Z")

</div>

![alt text][1]

This is on the actor Blueprint. I set the character World Transform Location to a point (cone) behind the actor. That part seems to work.

 ![352287-rotation.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/2/4221d4b87b6620d77ae3e2ea61ddde6e554d8feb.png)

I want to match the rotation of the actor the character is standing behind with that of the character. When I set the rotation with a 90 degree Yaw, it somewhat is in the right direction, but the next animation seems greatly influenced by the pre-SetWorldTransform Transform. I want the player character to be rotated in the same Yaw as the actor in front of the player. SetWorldTransform does not seem to work that way. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![DavidTveraas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidtveraas/32/1058281_2.png) [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Post date:** [November 16, 2021, 9:01pm UTC](https://forums.unrealengine.com/t/transform-rotation-issue/490989/2 "2021-11-16T21:01:31Z")

</div>

I think I figured it out. I used Mesh instead of Root Component and it now seems to work.
