Hey everyone,
I’m having an issue with my projectile system in UE5. My projectile is passing straight through enemies instead of hitting them and destroying itself.
Projectile
Hey everyone,
I’m having an issue with my projectile system in UE5. My projectile is passing straight through enemies instead of hitting them and destroying itself.
what is the collision on?
ie capsule for enemy?
and the projectile? should be the root component and probably a sphere collision
If it is happening every single time then it probably isn’t this but if the projectile is moving very quickly you might want to try turning on Continuous Collision Detection
.
It’s worth noting however that there is an added CPU cost for this, but for accurate and reliable hits with fast moving objects it can be pretty useful.