Player collision component moving when rotating player

Hi, I am currently working on a game in which the player is able to run on walls, to be able to do this I decided to create my own movement for a pawn class without the use of physics and have had a long standing issue in that when I align the player to a wall they hover off it, but are fine when on the ground floor. As far as I can tell this is a issue with my root components collision component moving, or so it seems.

Here’s what the player looks like on the ground surface, completely normal

Here is what it look like on a wall, sorry if its not completely visible but the play is floating. Also if I try to change the location manually so that it is not floating it will act as if it is colliding.


Well I don’t know how or why this works, but I managed to fix this issue by moving the pivot point of my root static mesh to the centre of it.