# Camera teleporting on "set actor rotation"

**URL:** <https://forums.unrealengine.com/t/camera-teleporting-on-set-actor-rotation/1684077>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [February 12, 2024, 4:52pm UTC](https://forums.unrealengine.com/t/camera-teleporting-on-set-actor-rotation/1684077 "2024-02-12T16:52:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simolitical](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/simolitical/32/748963_2.png) [@Simolitical](https://forums.unrealengine.com/u/Simolitical)\
**Post date:** [February 12, 2024, 4:52pm UTC](https://forums.unrealengine.com/t/camera-teleporting-on-set-actor-rotation/1684077/1 "2024-02-12T16:52:55Z")

</div>

I think set actor rotation is the issue but here is my problem,  
I have a soft lock system that get the actor that the player is attacking and rotates to face the enemy before every attack;

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/2/d023cfcc5101158e65ff5ea755d67ed4da5fd507.png)

Implementation;

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/7/f878e7d8ec4032574e705df03bbdbea88be88d69.png)

The issue is that when the soft lock rotates the character is causes the camera to “teleport” and glitch for a single frame.

Demostration;

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 12, 2024, 5:07pm UTC](https://forums.unrealengine.com/t/camera-teleporting-on-set-actor-rotation/1684077/2 "2024-02-12T17:07:25Z")

</div>

Does the springarm inherit `Pawn Control Rotation`? If it does, trying to set to `Set Actor Rotation` may / will clash. If you do use Control Rotation, use it instead of Set Actor Rotation:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/f/57f575b399127b8240354fb039f499f5bef28d42.png)

---

<div class="post-metadata">

**Author:** ![Simolitical](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/simolitical/32/748963_2.png) [@Simolitical](https://forums.unrealengine.com/u/Simolitical)\
**Post date:** [February 12, 2024, 7:25pm UTC](https://forums.unrealengine.com/t/camera-teleporting-on-set-actor-rotation/1684077/3 "2024-02-12T19:25:42Z")

</div>

> [@Everynone](#):
>
> use it instead of Set Actor Rotation:

When i did this the camera would face the enemy instead of the character

  
;

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 12, 2024, 7:30pm UTC](https://forums.unrealengine.com/t/camera-teleporting-on-set-actor-rotation/1684077/4 "2024-02-12T19:30:03Z")

</div>

I don’t know your camera setup, hence the original question. Perhaps you could clarify how the camera works. Are you using Control Rotation and what, if anything, inherits it?

- if you’re using Control Rotation to turn the character, you should be using Control Rotation to orient the player. If you attempt to rotate the actor, it will clash with what the controller is providing.

- if the springarm inherits Control Rotation, it will follow it closely → this should be disabled for the duration of the Soft Lock. And then enabled again when you lose a target.

Again, only guessing at this point. That’s how I’d set it up.

---

<div class="post-metadata">

**Author:** ![Simolitical](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/simolitical/32/748963_2.png) [@Simolitical](https://forums.unrealengine.com/u/Simolitical)\
**Post date:** [February 12, 2024, 9:19pm UTC](https://forums.unrealengine.com/t/camera-teleporting-on-set-actor-rotation/1684077/5 "2024-02-12T21:19:50Z")

</div>

Ive managed to get the effect that i like,

- what i did was make the character mesh the parent of the spring arm

- turn on “use pawn control rotation” on the spring arm

- use both “set actor rotation” and “set control rotation” during the soft lock;  

- and add some camera lag

How it looks:

---

<div class="post-metadata">

**Author:** ![Zero\_The\_Source](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zero\_The\_Source](https://forums.unrealengine.com/u/Zero_The_Source)\
**Post date:** [August 27, 2025, 1:50am UTC](https://forums.unrealengine.com/t/camera-teleporting-on-set-actor-rotation/1684077/6 "2025-08-27T01:50:42Z")

</div>

Had a similar issue, making the character mesh the parent of the spring arm fixed it for me.  
That issue was driving me crazy, so, thank you! 😅
