# How can I rotate a mesh while also having it move to Target Points?

**URL:** <https://forums.unrealengine.com/t/how-can-i-rotate-a-mesh-while-also-having-it-move-to-target-points/319292>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 21, 2015, 1:08am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-a-mesh-while-also-having-it-move-to-target-points/319292 "2015-05-21T01:08:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VictorBurgos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorburgos/32/1008648_2.png) [@VictorBurgos](https://forums.unrealengine.com/u/VictorBurgos)\
**Post date:** [May 21, 2015, 1:08am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-a-mesh-while-also-having-it-move-to-target-points/319292/1 "2015-05-21T01:08:41Z")

</div>

Oh goodness, I’ve been at this for hours now. I finally have it moving randomly to target points, but I can’t for the life of my get it to rotate also at the same time. Also (if there’s a way to loop it to go in a certain order instead of randomly, that would be more helpful to me, thanks!)

Ok, so for the rotation, I tried a Timeline at First, but then it wouldn’t move to target points, and then I tried out the RotatingMovement construction and that didn’t work either. All it does is stay in place and rotate.

Blueprints are attached.

 ![43517-sawrotation3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/9/c79f0e720d719fb68970f078205e36a27d8d7847.jpeg)

---

<div class="post-metadata">

**Author:** ![VictorBurgos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorburgos/32/1008648_2.png) [@VictorBurgos](https://forums.unrealengine.com/u/VictorBurgos)\
**Post date:** [May 21, 2015, 1:22am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-a-mesh-while-also-having-it-move-to-target-points/319292/2 "2015-05-21T01:22:27Z")

</div>

AddActorLocalRotation is not working either in Event Tick. All these things give me the rotation I want, but does not allow me to rotate WHILE moving to the target points:(

They either stay in place or run off the map.

---

<div class="post-metadata">

**Author:** ![Duncan\_Dam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Duncan\_Dam](https://forums.unrealengine.com/u/Duncan_Dam)\
**Post date:** [May 21, 2015, 2:44am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-a-mesh-while-also-having-it-move-to-target-points/319292/3 "2015-05-21T02:44:36Z")

</div>

Add an empty Scene component call it Root, then make your mesh component is the child of Root component, when you move whole actor, just rotate the mesh component locally.

---

<div class="post-metadata">

**Author:** ![VictorBurgos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorburgos/32/1008648_2.png) [@VictorBurgos](https://forums.unrealengine.com/u/VictorBurgos)\
**Post date:** [May 21, 2015, 2:54am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-a-mesh-while-also-having-it-move-to-target-points/319292/4 "2015-05-21T02:54:21Z")

</div>

Are you saying that I should rotate the root, but have the mesh move to the target like originally planned and it should work? So I will be moving two different things in the event graph. Mesh to targets, root rotation…?

---

<div class="post-metadata">

**Author:** ![Duncan\_Dam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Duncan\_Dam](https://forums.unrealengine.com/u/Duncan_Dam)\
**Post date:** [May 21, 2015, 3:00am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-a-mesh-while-also-having-it-move-to-target-points/319292/5 "2015-05-21T03:00:29Z")

</div>

from your blueprint your Mesh is the root component, what your rotate is the whole actor, you should make Mesh a child of other Component, the you can rotate it locall and moving with out effect Actor rotation.

---

<div class="post-metadata">

**Author:** ![VictorBurgos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorburgos/32/1008648_2.png) [@VictorBurgos](https://forums.unrealengine.com/u/VictorBurgos)\
**Post date:** [May 21, 2015, 10:50pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-a-mesh-while-also-having-it-move-to-target-points/319292/6 "2015-05-21T22:50:18Z")

</div>

Thanks for your help, it took a few tries, but using what you said I got it working.

 ![43627-sawbladerotationfixed.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/1/c410bd8e4b9226ac19702295a369fa94bf5161fc.jpeg)
