Devlogs
Projectile Offset Hit Detection - Sprint 5
Author: Tyler Sessler
No OffsetNow that we have the projectile spawning in front of the enemy, it looks much better. However, my projectile checks for collisions on overlap begin. If I stand close to the enemy, the projectile spawns inside of me, therefore never calling the initial overlap. To fix this, I created a small function that is spawned right when the projectile spawns. This function checks all overlapping actors, then filters out the player to apply damage.