Hello everyone,
So I have been trying to create an AI that has a weapon and performs various attacks when the player is within range. When the AI attacks, I create a collision box around the weapon at a specified time in the animation (using an animation notify state) and if the player collides with the collision box, they should take damage. For some reason, the collision detection is not being seen on the server, but is on the client. That is to say, if you are playing the game as a client the detection is not seen but if you are the listener server it is working properly.
If I do something similar where a simple collision sphere/box appears in-front of the AI at the time of the attack, the detection works exactly as you would expect on both the server and the client. Is anyone able to explain to me why this seems to work the way that it does?