Projectile collision not hit when nested under another scene component

Hello all,
I am using ProjectileMovementComponent to create a projectile. But I got an issue, if I use a box collision as a root component everything is okie. But if I use another component as root component and attach box collider to that root component. The hit event of box collision not fire.

Do you have any idea how fix this issue?

Thank you a lot

1 Like

Projectile movement will not move a scene component. Anything bound to the scene component will not move either. Thus your collision doesn’t move.

Proper projectile hierarchy should be:
Collision (parent component, aka root)
Projectile Movement Component

If you want any visual element (emitter, mesh etc) parent said component to the collision.
e.g.
Collision (parent component, aka root)
→ Static mesh component
→ Particle System
→ Audio Component
Projectile Movement Component

2 Likes

Keep in mind that there is a bug with the default engine, nested collisions don’t work properly.

You’ll need to make sure that the item has the collision FIRST, it can’t be “nested”.
Make a collision box, put the projectile mesh under that. Should work that way.

1 Like

Thank you,
But I want to setup a projectile with many small collision box. Unbelievable that Unreal has that critical issue and Epic can not fix it :frowning:

Sounds like you want a shotgun setup … many pellets. This is done by loop spawning ( for each ) small projectiles w/deviation per projectile spawned.

1 Like