How can I still rotate my character but in a way that he can still be moving as if I was not rotating him?
Hello, I'm making a shoot'em up with controls like Beat Hazard. https://www.youtube.com/watch?v=zcKfQr9umZM The character can rotate and move independently from the camera. The movement direction and the orientation are independents from each other.
For now, I've set up the camera and the gamepad inputs. So, I can move my character in any direction with the gamepad's left stick. The thing is, when I rotate him with the right-stick and that I want to move him to the top, he doesn't move to the top. It's hard to explain ^^. In fact, he moves to the top but from his own position and orientation, not to the top of the screen. For example, if I rotate my character on 90° on the right and that I move him to go on top, he goes on the right....
So, does anyone has an idea of how I can still rotate my character but in a way that he can still moving as if I was not rotating him?
Now, here's what I've got in my PlayerController Blueprint
Ok Problem is solved, and it was really silly. You just have to choose on your own to "World Direction" values in the "Add Movement Input" nodes and you get this :
answered May 02 '14 at 08:06 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here