reference to help understand what I mean: Unreal Engine 4 : Custom Gravity Plugin - YouTube
so I have a character who can walk on walls when I walk up to them. My problem is how I should find the correct forward vector to make the transition from the ground to the wall smooth. The up vector should be the normal of the wall, so that part is easy. Try to visualize, If you have a wall in a game and you want to walk up it. Maybe you look straight at the wall, then when you walk up it the wall becomes the ground and you are looking straight up in world space but you feel like you are looking the same way if that makes sense. Now, If you walk towards the wall sideways then the forward vector would be basically the same but the right vector will be up instead. Nod if you understand, if not, let me know.
when I say walk up walls I mean on any surface, 90 degrees walls just happens to cause me the most issues. I have tried a lot of stuff already and I’m kind of lost, any help would be appreciated.
I’m actually 99% sure there is a built-in function for this exact problem but I never remember what it’s called.