Hi, How can I force a character to face the direction I want it to go ( with SimpleMoveTo or AddMovementInput ) before moving ?
I have a space ship “character” and I want to simulate a thruster behind it, but it move asides while slowly turning…
The best would be if I was able to thrust the space ship only toward but let it glide when it turn.
Currently I was trying to remove every “left and right” velocity, but I can’t figure out how to do it.
You mean, ignore input while the ship is not facing the right direction ?
How can I ignore the input of “SimpleMoveTo” ?
Also, it would be nice if the ship was moving forward while turning. Currently it move forward AND aside… I need to detect side movement, I tried to get the velocity and compare it with the forward vector but I don’t know how to cancel/remove the left and right movement…