First you break your problem into simple tasks. For your game is “how umg works” and “how to shoot physics body”
then google for tutorials about “unreal umg” and about “unreal physics”
then you follow those tutorials, and finally you make your game.