# Rotate child together with parent object, but keep/maintain child's own relative rotation/orientation locked

**URL:** <https://forums.unrealengine.com/t/rotate-child-together-with-parent-object-but-keep-maintain-childs-own-relative-rotation-orientation-locked/781598>\
**Category:** Rendering\
**Tags:** parent, playercontroller, rotation, child-actor-componen, relative-location, player-rotation, unreal-engine, transform, question, Blueprint\
**Created:** [March 2, 2023, 12:35am UTC](https://forums.unrealengine.com/t/rotate-child-together-with-parent-object-but-keep-maintain-childs-own-relative-rotation-orientation-locked/781598 "2023-03-02T00:35:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maderschaden](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maderschaden](https://forums.unrealengine.com/u/Maderschaden)\
**Post date:** [March 2, 2023, 12:35am UTC](https://forums.unrealengine.com/t/rotate-child-together-with-parent-object-but-keep-maintain-childs-own-relative-rotation-orientation-locked/781598/1 "2023-03-02T00:35:09Z")

</div>

Hi everybody.

I wanted to ask if anybody can help me with the following problem:

I have a child object, that for the purpose of this example is just in front of my head.  
As my player rotates the object should stay in front of me, which it obviously does because it is a child component of my player blueprint.  
But even though it is following the rotation of my player, I still want the object itself to maintain it’s local orientation/rotation, so basically keeping it locked in the same direction.

So in the end I want the object to follow me in front of my head, but the arrows should point in the same direction while it is doing that. Take a look at the video and my sketch to better understand:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/6/5c6edf124ebe138ace0d6d2526ebca5c727c2afc.png)

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/6/dd630e1c088d75ff86d10bff4a9825b0410942b9.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/6/dd630e1c088d75ff86d10bff4a9825b0410942b9.mp4)

It would be awesome to find a solution where I do not have to mess with the player script that much, because I would like to use the basic first person character without changing much. I was thinking if there maybe is a solution that would just involve the child that should stay locked (maybe a setting I missed or a simple transform on tick)

Any help with this would be much appreciated! Does not seem like that big of a deal, but unfortunately I am still struggling ☹

---

<div class="post-metadata">

**Author:** ![ImTWK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ImTWK](https://forums.unrealengine.com/u/ImTWK)\
**Post date:** [March 2, 2023, 1:27am UTC](https://forums.unrealengine.com/t/rotate-child-together-with-parent-object-but-keep-maintain-childs-own-relative-rotation-orientation-locked/781598/2 "2023-03-02T01:27:40Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/8/5288103d4bbc4fc7d0a7e50d2a85df32010f023d.png)

---

<div class="post-metadata">

**Author:** ![Maderschaden](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maderschaden](https://forums.unrealengine.com/u/Maderschaden)\
**Post date:** [March 2, 2023, 4:23pm UTC](https://forums.unrealengine.com/t/rotate-child-together-with-parent-object-but-keep-maintain-childs-own-relative-rotation-orientation-locked/781598/3 "2023-03-02T16:23:14Z")

</div>

This is the correct solution, thank you very much!  
for anyone after me who has the same problem:

To keep/lock the rotation of an object no matter the parent, just set the rotation type in the details panel to “absolute rotation”:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/1/261b0a47436d79f26a5bd3fd751019358e45e5cc.png)

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/5/6d5274bba29dca63d3a07d41db3aaa45e8d5a95b.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/5/6d5274bba29dca63d3a07d41db3aaa45e8d5a95b.mp4)
