Align hovercraft to ground normal
I'm trying to align an hovercraft to the ground direction to make it follow the ground surface. I substract the up vector by the impact normal under the hovercraft and add the result to a torque.
It's close from working but when the hovercraft change orientation the torque is turning the hovercraft in the wrong direction.
I can't figure out how to make the torque working the correct direction.
Any suggestions ?
asked Nov 29 '14 at 10:02 PM in Blueprint Scripting
Searched for hours, post the question then find the answer in 15 minutes ;-) from the idea behind : https://answers.unrealengine.com/questions/4925/question-possible-to-get-landscape-polygon-tangent.html
The solution is to use cross product instead of vector substraction.
answered Nov 29 '14 at 10:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here