# Spring Arm Local Offset

**URL:** <https://forums.unrealengine.com/t/spring-arm-local-offset/383801>\
**Category:** Cinematics & Media\
**Tags:** springarm, unreal-engine, pawn, question, Blueprint\
**Created:** [February 3, 2017, 9:14am UTC](https://forums.unrealengine.com/t/spring-arm-local-offset/383801 "2017-02-03T09:14:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Annwn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Annwn](https://forums.unrealengine.com/u/Annwn)\
**Post date:** [February 3, 2017, 9:14am UTC](https://forums.unrealengine.com/t/spring-arm-local-offset/383801/1 "2017-02-03T09:14:01Z")

</div>

I’ve attached a Spring Arm component to my character pawn blueprint, and during gameplay I change the Y target offset in order to orient the camera so that the player isn’t directly in the center of the screen. This works fine when the player (and therefore the Spring Arm component) in oriented so that it is traveling forward or backwards on the X axis, but when the player turns so that they are traveling on the Y axis, changing the Y offset merely zooms in and out on the player. It is clear that Target Offset uses world coordinates rather than local coordinates.

Would it be most practical to preform the math that calculates the Y and X offsets individually based on the pawn’s rotation, or would it be better to convert the Offset to local coords, add my Y offset, and convert back to world coords? How would I go about doing either of these solutions?

Thank you.

---

<div class="post-metadata">

**Author:** ![CapitaineStar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CapitaineStar](https://forums.unrealengine.com/u/CapitaineStar)\
**Post date:** [February 3, 2017, 4:18pm UTC](https://forums.unrealengine.com/t/spring-arm-local-offset/383801/2 "2017-02-03T16:18:28Z")

</div>

Is there any reason why you don’t use the Socket offset instead? It should give you the behavior you want.

---

<div class="post-metadata">

**Author:** ![Annwn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Annwn](https://forums.unrealengine.com/u/Annwn)\
**Post date:** [February 3, 2017, 5:35pm UTC](https://forums.unrealengine.com/t/spring-arm-local-offset/383801/3 "2017-02-03T17:35:14Z")

</div>

That works beautifully, thank you!
