A very cheap solution how to rotate the wheals of a car in any direction without using expensive and comprehensive 4 wheels component. Just calculate velocity and direction and use it to calculate rotation. And also we calculate the movement direction of a mesh.
https://dev.epicgames.com/community/learning/tutorials/O4G0/unreal-engine-ue5-short-tutorials-rotate-wheels-without-movement-component-use-velocity-direction