Projectile bounces off enemy but doesn't destroy it

Hey,
So I’ve been getting to grips with UE4, and it’s been going pretty well, i had the enemy die every time my projectile hit it but after trying to implement some new features I’ve discovered that they don’t die anymore. The projectile just bounces off without destroying the actor. Anybody got any ideas as to why?

UPDATE- uploading screenshots here:
alt text

This could have many reasons, and to be sure Id need to know more about your setup, and/or what you changed in the project, but if your using “on component hit” to execute the apply damage node make sure the projectiles collision component has “simulation generates hit events” ticked, also make sure the apply damage node has a reference to the hit actor plugged in to it.

Hey, I’ve done everything you asked, i even included a print string to see if the projectile was colliding correctly, apparently not because it just bounced off without a string to which i got my butt kicked by the enemy. i’ll include screenshots now.

We’ll need to see more of how you’re handling the collisions. Weird things can happen like checking collision with mesh verses capsule – may never happen, ect…

so I couple of things Id comment on this, first of Id recommend firing the on hit from the projectile instead, and use a damage node to signal the actor hit - right now you are checking if the thing the actor is standing on, or in any other way is rubbing against is a projectile by trying to cast to it - not very efficient, neither is checking collision on the actual bone-mesh, (very taxing).

Most likely your problem comes from the projectile bouncing of you capsule component, (the actual collision component), and so isn’t hitting your bone-mesh as intended from your “on component hit “skeletal mesh” node”

The first fix for that, if that is the error, is firing of a on component hit from the capsule component instead of the bone-mesh.

Secondly, if you really want to keep checking against the bone-mesh and not the capsule component take gander at the type of “object” the projectiles collision is set to, it should have its own collision component, if it doesn’t the collision is on the mesh itself, (but it really should have a collision component for performance). Set it to what you want, maybe “world dynamic” just not “world static”, make sure it has “generate hit events” checked and has its collision presets for “pawn” set to block, (as in block pawn type objects).

//as a side-note you can make more object types in your project settings.

After that take a look at your intended victim, check its capsule component and set its object response for world dynamic, (or whatever object type you set the projectile to), to ignore or overlap. (Thus causing it to allow those objects to pass through it).

Next check the bone-mesh and set its object response for world dynamic objects to block, and also set it to generate hit events.

//This should get you what you intend, but as I mentioned earler using a “apply damage” node from the projectile, and a “event any damage” in the actor is more in line with common practice and much less taxing.

//gl hf