Hey there. So I’ve setup a player character (a plane) to move left or right with the A and D keys, but as well as translation, I’d like the plane to rotate (bank).
The part I’m having issues with is having it rotate when I hold the A key, but rotate only once, not continuously. Basically when I hit A, I want it to translate to the left continuously, and rotate 5 degrees ONCE, while continuing to move while the button is pressed. Then when I stop pressing the button, it rotates back -5 degrees ONCE, and stops trabslating. Attached is my blueprint so far (which does the translation part successfully).
Anyone have suggestions on how to do the rotation part?
- Neil