Your best bet is probably to look at the source code for ShooterGame (ShooterCharacter.h & .cpp) and see how it's done there.

I think...