How to calculate forward vector according to floor angle?

I assuming you can get a good forward vector if you do it from a component that doesn’t tilt.

What I mean is, you don’t need to do the floor thing if you just use a non-tilting component.