I don’t clearly understand what is related to "spawning projectiles’ and what is not. Get the pawn, the actor location-rotation, vector etc. - should I collapse it into the function? I’ve made it so there is a greeting message, space bar and a function that it causes.
Well generally a function should do one thing. In this case that one thing is “Shoot” which would be pretty much everything but print the welcome message so that seems fine to me.
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.