How directly destroy Projectile on hit?

Hi all, just experimenting and created a guy that fires projectiles. When the projectiles hit my player, I want the projectile to just destroy itself, which it does but not before moving my player around (see BP). The weird thing is that it sometimes actually directly destroy itself like I want, but I don’t know why. Anyone knows what the proper way is to do it?

Just making it dissappear is enough for now, I don’t need it to move the player or anything for now. See current behaviour in this here:
[https://www.youtube.com/watch?v=d8t8iosKrK0](https://current behaviour projectile)

Sorry noob question but just beginning. Any suggestion is appreciated, greetings.

you could use overlap instead of hit which could be more useful later if you want it to penetrate certain objects.

also you need to destroy actor after you apply damage not before

1 Like

Drag the colliding element here to start with:

image

If the above does not fix it, there’s also the question of whether you’re actually Simulating Physics or letting the Projectile Movement Component deal with it instead. You cannot have both and the results may vary. Do tell what you’re currently relying on.


Also, while it may not be too relevant here, be mindful of the order of the operations. Destroy the actor after dealing damage.

1 Like

Thanks man, moving the sphere projectile as the root solved it! Simulating physics was turned off so its handled by the projectileMovement I assume. Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.