Hi all, I’m new to UE4 and was trying to control a pawn from player input.
What I did are:
created a blank project
created a blueprint class inherited from pawn, added a static mesh to represent the pawn object
in event graph, added enable input after ‘event begin play’ and connected with ‘get player controller’
added key event ‘J’ and connected it with ‘add actor local rotation’ to make my pawn rotate when I press J
However, it doesn’t work as I expected, nothing happened when J key is pressed. I’m not totally clear about playercontroller but I guess this simple task can still be achieved by just using the pawn itself?
Recently setup a controlled Pawn again, and Input wasn’t working.
The culprit, Input nodes on the Controller (even though works fine with the default character - which is an actor) Solution, move Input nodes to the character - no movement inputs on the controller, and the controlled Pawn Inputs work.