So Maybe you’ve seen one of my other pleads for help. But I decided to get rid of collisions due to their inabilty to overlap, and reaplced them with RAY CAST.
New issue though, I have projectiles that constantly raycast for an enemy 1/5 of the time they trigger the raycast, the other they don’t and go right past the enemy.
Just wondering if this is a known issue.
Side Note, Increasing the length, decreases the probability of it happening.
They all are on the exact same axis, the only thing that seems to cause it to miss semi-consistently, is when the enemy is mid animation/ moving. But that it happens either way, still or moving.
Animations don’t change the hitbox at all, so maybe it might look like the ray is hitting but it’s just because the animation is slightly different. Trying testing it with the animation turned off.
So I’ve been experimenting, and this really does seem to happen when the enemies move.
If collisions worked better, then I’d think of a work around, but this is an impossible thing to replace I think, I’d have to see other peoples projectile examples.
The issue with the collisions, is two things colliding at the same time, so not sure if that would change anything. Do you know of any games people have made with lots of projectiles?