So I’m trying to create door that would rotate based on player mouse input while key ‘E’ is pressed down, but every time I press it ingame it crashes back to editor. Just started learning UE4 so any advices are welcome.
the problem in your code is, that you have created an endless loop.
The While-Loop will run until the bool gets false, unfortunately it will never be changed because your program is executing the loop.
The proper way to do this is:
Hope this help you
PS: Are you sure you want to change the roll? I think you want the yaw to be changed