# Add Relative Rotation "Wonky" Spring Arm

**URL:** <https://forums.unrealengine.com/t/add-relative-rotation-wonky-spring-arm/480715>\
**Category:** Community & Industry Discussion\
**Tags:** pitch, rotation, spring-arm, unreal-engine, question\
**Created:** [March 22, 2021, 7:27pm UTC](https://forums.unrealengine.com/t/add-relative-rotation-wonky-spring-arm/480715 "2021-03-22T19:27:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mugenmelon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mugenmelon/32/1035828_2.png) [@mugenmelon](https://forums.unrealengine.com/u/mugenmelon)\
**Post date:** [March 22, 2021, 7:27pm UTC](https://forums.unrealengine.com/t/add-relative-rotation-wonky-spring-arm/480715/1 "2021-03-22T19:27:19Z")

</div>

Hi! New to Unreal and 3D programming in general, so I’m sure I’m just missing something here…

I have a SpringArm + Camera (in SpringArm slot) attached to my root CapsuleComponent. In my PlayerController I have set up input so that moving the mouse/right stick up or down will update a “PitchRotation” float on my SpringArm.  
Now, in the TickComponent of the SpringArm I am simply calling this method to add pitch rotation:

```
AddRelativeRotation(FRotator(PitchRotation.Value * DeltaTime, 0.0f, 0.0f));

```

This works just fine for moving my third person camera up and down.  
However, as soon as I rotate my CapsuleComponent by 90° yaw in the details panel, the “up and down” movement becomes really wonky and wobbly. When printing the SpringArm’s transform, I get some tiny roll and yaw mixed in:

 ![333248-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/3/70343069cd9fee30a50c82b8fc8f1bea6283da85.jpeg)

The faster I move the mouse, the more wobbly it appears.  
Would appreciate any tips, hints or nudges in the right direction. Thank you!

---

<div class="post-metadata">

**Author:** ![mugenmelon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mugenmelon/32/1035828_2.png) [@mugenmelon](https://forums.unrealengine.com/u/mugenmelon)\
**Post date:** [March 24, 2021, 9:42am UTC](https://forums.unrealengine.com/t/add-relative-rotation-wonky-spring-arm/480715/2 "2021-03-24T09:42:09Z")

</div>

Found that using

```
bUsePawnControlRotation

```

And having the SpringArm inherit the PlayerController rotation fixes this issue. Still, would be nice to know why rotating it manually causes issues.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 2, 2024, 6:35pm UTC](https://forums.unrealengine.com/t/add-relative-rotation-wonky-spring-arm/480715/3 "2024-03-02T18:35:45Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
