How to calculate forward vector according to floor angle?

Hello, I’ve made a hovercraft type vehicle. I use “Add Force” according to Actor Forward Vector to move it. However, in cases where the vehicle is tilted (like upon landing or going over a small bump), my method of using Actor Forward Vector launches it upwards diagonally. I think using the angle of the floor beneath it for “Add Force” will solve this problem, but I’m not sure about the math to get this vector.

…can’t believe I didn’t realize this. Thanks!

you can take the hovercraft’s forward vector and use ‘project vector on to plane’ and reference the hit normal as the plane normal.

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.