# Rotators moving in an arc

**URL:** <https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364>\
**Category:** Blueprint\
**Tags:** rotator, rotation, unreal-engine, question, Blueprint\
**Created:** [July 3, 2025, 5:38pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364 "2025-07-03T17:38:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [July 3, 2025, 5:38pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/1 "2025-07-03T17:38:20Z")

</div>

I made a security camera that moves back and forth between two points, and tracks the player if it sees them.

For some reason, the camera moves in a wide arc when moving from point A to point B. When moving from point B to point A, it moves in a straight line. When the camera tracks the player it does it accurately without any arcing.

I’d like for the camera to just move in straight lines all of the time, but I’m not sure what’s causing the arcing.

 ![Screenshot 2025-07-03 103731](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/0/12013320473918141fa4ee9df0dc5465404a7120.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 3, 2025, 6:59pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/2 "2025-07-03T18:59:19Z")

</div>

So you’re doing the lookatrotation from the root, but moving the sphere ( whatever that is ). Can you show the setup?

---

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [July 3, 2025, 7:05pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/3 "2025-07-03T19:05:59Z")

</div>

Sphere is the mesh, currently a placeholder. I move the sphere and not the root because the scanning points A and B are local space vectors that would move if the root rotation were changed.

 ![Camera](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/6/9d671f817ee228a8867bf0a7a38d3f20323fe9c9.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 3, 2025, 7:16pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/4 "2025-07-03T19:16:27Z")

</div>

Can you show a gif or vid of it doing this weird thing?

At the moment, I can’t see anything wrong with the code.

( Although maybe that radial force component is not helping? )

---

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [July 3, 2025, 8:34pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/5 "2025-07-03T20:34:11Z")

</div>

I don’t think the radial force is affecting this, it’s from the parent and is set to be not active until a certain event fires.

Now that I’m thinking about it, the arc movement I’m seeing is probably just the shortest possible path. When the two points are on the same x or y plane, we don’t really see the issue, but when they’re different, it almost looks like the rotator rotates on one axis first and then the other, which might be making it look like it’s moving in an arc in one direction then in a straight line in the other.

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [July 3, 2025, 11:02pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/6 "2025-07-03T23:02:52Z")

</div>

Can you do another vid showing player tracking, then have it pop back to regular sweeps?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 4, 2025, 7:12am UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/7 "2025-07-04T07:12:40Z")

</div>

I think you might be right, it’s just the rotation taking a slightly strange path.

Maybe keeping the local tracking points in one plane will help.

---

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [July 4, 2025, 5:29pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/8 "2025-07-04T17:29:43Z")

</div>

I’m wondering if there’s a way to break the rotator into just the pitch and yaw, then both with two sequential setWorldRotation nodes?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 4, 2025, 5:33pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/9 "2025-07-04T17:33:17Z")

</div>

Quite possibly, but if you get weird problems, that would be because of the splitting.

---

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [July 5, 2025, 5:22pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/10 "2025-07-05T17:22:13Z")

</div>

Yeah I’m probably just going to do this. Not worth the hassle lol

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 5, 2025, 5:34pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/11 "2025-07-05T17:34:35Z")

</div>

I know it’s often tempting to ‘take the challenge’, but often it actually doesn’t matter, it’s just a kind of pride issue.

I had it the other day with something, can’t recall what, but in the end I let it slip because no one would ever notice the difference 🤣

---

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [July 5, 2025, 5:48pm UTC](https://forums.unrealengine.com/t/rotators-moving-in-an-arc/2589364/12 "2025-07-05T17:48:31Z")

</div>

So true 🥲
