# Dynamic spring arm rotation

**URL:** <https://forums.unrealengine.com/t/dynamic-spring-arm-rotation/345654>\
**Category:** Community & Industry Discussion\
**Tags:** rotation, arm, unreal-engine, question\
**Created:** [January 28, 2016, 2:34pm UTC](https://forums.unrealengine.com/t/dynamic-spring-arm-rotation/345654 "2016-01-28T14:34:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derzo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Derzo](https://forums.unrealengine.com/u/Derzo)\
**Post date:** [January 28, 2016, 2:34pm UTC](https://forums.unrealengine.com/t/dynamic-spring-arm-rotation/345654/1 "2016-01-28T14:34:22Z")

</div>

So I am making this roller ball with dynamic gravity. It works fine, but how do I make spring arm limits dynamic to my gravity direction? (I have gravity direction vector variable)  
It works just fine on the ground, but when I get to wall/roof, it rotates weirdly as expected, here’s a video about it

[![]( " - YouTube") ](https://www.youtube.com/watch?v=VJSKuvX9BbM)

**Please** someone help, I have tried to figure this out too long…

---

<div class="post-metadata">

**Author:** ![Derzo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Derzo](https://forums.unrealengine.com/u/Derzo)\
**Post date:** [February 2, 2016, 6:48pm UTC](https://forums.unrealengine.com/t/dynamic-spring-arm-rotation/345654/2 "2016-02-02T18:48:08Z")

</div>

Anyone…?

---

<div class="post-metadata">

**Author:** ![Derzo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Derzo](https://forums.unrealengine.com/u/Derzo)\
**Post date:** [February 6, 2016, 6:23pm UTC](https://forums.unrealengine.com/t/dynamic-spring-arm-rotation/345654/3 "2016-02-06T18:23:10Z")

</div>

No-one…?
