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?
Any suggestions will help. Thanks a lot.