When projectile speed is very high (or FPS very low) it flying trough target.
One frame is in front of the target and next frame is behind the target and its NOT triggering action.
Any ideas how to avoid that kind of bug?
Before moving the projectile you can check the remaining distance to the target and if it’s less than where the projectile will go, assume a hit
This is a common problem if your projectile speed is too high. If the projectile begins the frame on one side of the collider and ends it on the other side of the collider, generally a collission/trigger will not occur. @bixarrio has the right solution for this.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.