I’m new to development and working on my first project which is a 2D run and gun type game. I’m working on trying to get an enemy to be a projectile and continuously bounce off of the floor/walls/ceiling.
I’ve tried searching quite a bit and have tried dissecting the projectile blueprints in the First Person Template without any luck so far.
Currently I have a paper flipbook with a collision component and the projectile movement component spawning in at a location and traveling -500 X and -500 Z so that it is moving at a 45 degree angle. It has “should bounce” checked and my floor tiles have a collision box set as well, but I cannot figure out how to get the projectile to bounce off of the floor and continue in a 45 degree trajectory. It just flies straight through the floor.
Do I need to change the X and Z values every time it reaches the point of collision? Surely there’s an easier solution than this.