Fixing the cannon trap in "Forgotten Memories"
Name: Jared Barker
Date April 27, 2023
Time: 5:24 PM EST
Fixing the cannon trap in "Forgotten Memories"
The problem:
The main problem for the cannon was that whenever the player collides with the collision box for the cannon, it'll fire the cannonball, but will cut off after half a second. I tried making the fire time longer, but it resets every time I test it. I did some debugging and everything was working fine in the blueprint. It's been really bizarre since not only did it respond to the collision, but the player takes damage even though the cannonball cut off.
The solution:
The solution I came up with is to duplicate the mages fire attack nodes and modify the cannon to where the behavior is similar to the arrow trap where if the sphere collides with the player, they take damage while being launched away. So now whenever the player goes to the cannon collision box, it'll fire the cannonball and get rid of that bug. Also, I manage to make another cannon where it fires the cannonball automatically, so it can be used in rooms where you need to avoid the traps while facing enemies along the way.
Comments
Post a Comment