# Merging ALS with Gravity plug-in, Character rotation help!

**URL:** <https://forums.unrealengine.com/t/merging-als-with-gravity-plug-in-character-rotation-help/455282>\
**Category:** World Creation\
**Tags:** gravity, locomotion, FeatureRequest, unreal-engine, Physics, Blueprint, question\
**Created:** [September 13, 2019, 1:19pm UTC](https://forums.unrealengine.com/t/merging-als-with-gravity-plug-in-character-rotation-help/455282 "2019-09-13T13:19:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephensonmafiu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stephensonmafiu](https://forums.unrealengine.com/u/Stephensonmafiu)\
**Post date:** [September 13, 2019, 1:19pm UTC](https://forums.unrealengine.com/t/merging-als-with-gravity-plug-in-character-rotation-help/455282/1 "2019-09-13T13:19:55Z")

</div>

Hi everyone,  
I’m trying to merge ALS:  
[https://www.unrealengine.com/…/advanced-locomotion-system-v1](https://www.unrealengine.com/%E2%80%A6/advanced-locomotion-system-v1)  
with this gravity plug in:  
[https://www.unrealengine.com/…/sl…/character-dynamic-gravity](https://www.unrealengine.com/%E2%80%A6/sl%E2%80%A6/character-dynamic-gravity)  
But as you can see the ALS screws up rotations quite a bit:

[Gravity rotation Issue - YouTube](https://www.youtube.com/watch?v=HjbO6lHa2vE)

At the moment I’m trying to figure out how to patch the rotation for the point gravity (is the more complicated) but I’m struggling a lot and having a really hard time, I think I must calculate the rotations based from the gravity center but I’ve tryed a lot and managed nothing:  
[Gravity rotation issue 3 - YouTube](https://www.youtube.com/watch?v=e4zFMyAXxi8&feature=youtu.be)  
I am kinda desperate right now, I understand this might be more complicated than I thought, so I am willing to agree some form of payment to someone smart and kind enough to help me!  
The gravity plug in is C++ based and add a new character class with a modified character movement component, so it is only a matter of setting it as the parent class of the ALS base character. Accordingly to the creator of this Gravity plug in if the locomotion system is 100% BP it is possible to investigate the cause of the messed rotation and fix it.  
I think I found where is the problem (you can see in the videos) but I don’t know the formula to resolve it, I think I must calculate the rotations based on the center of the spherical object for the planetary gravity.  
So far no luck, but I think there MUST be a way to achieve this result.

---

<div class="post-metadata">

**Author:** ![DelphicSoftWorks](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DelphicSoftWorks](https://forums.unrealengine.com/u/DelphicSoftWorks)\
**Post date:** [October 9, 2023, 6:46pm UTC](https://forums.unrealengine.com/t/merging-als-with-gravity-plug-in-character-rotation-help/455282/2 "2023-10-09T18:46:21Z")

</div>

hi do u have a team?
