Hello, I am trying to add wasd movement to a mesh but so far have been unsuccessful in getting it to work properly. I want the WASD movement to work in that the submarine moves while rotating as well. Currently the sub can rotate and move forwards and backwards but when it is rotated at a 90 degree angle to the left and right it suddenly won’t move forward.
What I am trying to achieve is something like this but at lesser movement speed:
Here is my playground I am working on:
The animation code is at the bottom