# \[HELP\] How to rotate actors around another

**URL:** <https://forums.unrealengine.com/t/help-how-to-rotate-actors-around-another/759597>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [January 30, 2023, 9:27am UTC](https://forums.unrealengine.com/t/help-how-to-rotate-actors-around-another/759597 "2023-01-30T09:27:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AzaelOff](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/azaeloff/32/1108429_2.png) [@AzaelOff](https://forums.unrealengine.com/u/AzaelOff)\
**Post date:** [January 30, 2023, 9:27am UTC](https://forums.unrealengine.com/t/help-how-to-rotate-actors-around-another/759597/1 "2023-01-30T09:27:26Z")

</div>

Hello, I have a system in which the player can select and unselect actors and move/rotate/scale them… I managed to move and scale actors simultaneously but I’m stuck on the rotation…

I tried to attach and detach actors dynamically but that doesn’t seem to work… I also tried to understand the “rotate vector around axis” but it’s not very well documented and from what I understand it’s only on one axis…

Basically to rotate my actors I have a gizmo which sends a rotation delta to the last actor in an array of actors (the selected actors), the array changes each time a player clicks on an actor (select/unselect).  
So now I need to know how it would be possible to rotate all the selected actors around the last selected actor

I hope someone can help me… Thank you very much!

---

<div class="post-metadata">

**Author:** ![AustrianMunzter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/austrianmunzter/32/630075_2.png) [@AustrianMunzter](https://forums.unrealengine.com/u/AustrianMunzter)\
**Post date:** [January 30, 2023, 10:13am UTC](https://forums.unrealengine.com/t/help-how-to-rotate-actors-around-another/759597/2 "2023-01-30T10:13:17Z")

</div>

hi,  
here is a post that could interest you

> [@How to rotate around an arbitrary point?](https://forums.unrealengine.com/t/how-to-rotate-around-an-arbitrary-point/283132):
>
> If you already know the distance and the rotation, you can do something like this: This function will return the final location for the mesh. Also, you should set the mesh’s rotation to the same rotation used in this function.

pivot point for rotation would be than your last selected actor

hope this helps you 🙂

cheers 🖖

---

<div class="post-metadata">

**Author:** ![AzaelOff](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/azaeloff/32/1108429_2.png) [@AzaelOff](https://forums.unrealengine.com/u/AzaelOff)\
**Post date:** [January 30, 2023, 11:05am UTC](https://forums.unrealengine.com/t/help-how-to-rotate-actors-around-another/759597/3 "2023-01-30T11:05:07Z")

</div>

Thanks, I’ll try that
