I set up a first person character scene. I used a mesh with animations of the Unreal Starter Content. I started from a blank project to set everything up as I wanted it and made the following blueprints:
- Interface to calculate ScreenCenter
- FirstPersonCharacter blueprint with ShootGun function: I used LineTraceByChannel from the ScreenCenter to where the camera is looking
- Animation blueprint for Idle and Run with a Montage for the gun recoil