Download

Orient Hovering Vehicle to Surface

Hey, I am trying to create an Hover car / spaceship racing game. I have got the Hover mechanics and spring physics working. Now I am stuck trying to get my Vehicle to orientate itself with the surface of the track as it changes direction and slope. I will attach some screens, I hope someone can give me a hand here.
(Also if I change the Rinterp speed higher than 0.001 my game begins to lag).
c64d824ba5e06c37a2d47356196413c43f2c86b8.jpeg5037475e4c3f25a857e1cea1f276ac3f2f63ccd5.jpegc6fa552530a3cab641ec1874ef1b36963bd7af08.jpeg

I think part of the problem is that you are taking an absolute rotation (world space) and trying to plug it into a SetRelativeRotation (local space).

So, what would you suggest as a solution? I tried using the SetWorldRotation node and it didn’t fair any better. Is there some other method you were referring too? I am pretty new to Unreal

Hey, I have solved my problem. I set the rotation to the Actor instead of the mesh and everything is working now. Thank you.