(BEGINNER) I need help resolving a bug in my shooter game

Hi everyone,

I am brand new to game development. I don’t know much about this engine, but I’m taking a game design course to help me learn. I am creating a basic arena shooter game. At this stage, I have developed a playable character that can walk, look around, jump, and shoot red projectiles. I need to create enemy AIs that also walk around, and shoot other enemies (or me). That’s it so far. My enemies follow a behavior tree, respawn when killed, walk around, and shoot just fine. My only two problems are these:

  1. I cannot see enemy projectiles. Even though they are shooting, I just can’t see them. (Visibility is on, and “hidden in game” is off)
  2. When an enemy shoots me, they damage themselves instead. I am invincible for some reason.

I tried to get screenshots of relevant blueprints.



I hope these make sense. Any feedback would be greatly appreciated.

Thanks so much!

I can’t help but feel like these two are related. I suspect this is a collision problem. The reason you don’t see the projectiles is because they are colliding with your AI upon spawn and thus damaging themselves with the projectiles. I’d imagine the projectiles are destroying themselves when they collide with something so it’s no surprise you don’t see them.

Oh that was it! Woohoo!

Okay, so I had my enemy projectiles spawn at an arrow that’s connected to each enemy. It looks like my arrow was too close to the enemy, and the projectiles were spawning INSIDE the enemy’s hitbox. Yes, those two are connected! Thank you so much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.