Why is my projectile only colliding when player is moving?

Hello UE4 community,

So I created some projectiles that fire at my character that should collide. There is one problem I am having, the projectile collides if the character is moving or the result of a getting if there the character is pushed by the projectile collision still occurs. That part is good. However, if my character is motionless, the projectiles pass through my character as if there is no collision. I thought maybe there was a problem with the collision set to collide only with dynamic objects but that doesn’t seem to be the case. Does anyone have any idea of what I am missing? Is there a setting that needs to be enabled or disabled in order for my projectile to collide when my character is motionless.

Any help is appreciated.


Hey unrealguy,

The reason your character reacts at all is because while it is moving it is affecting the physics objects it interacts with. This is not true while the character is standing still, because it is not putting any sort of force on physics objects.

Your character’s Capsule component is likely set to Pawn, which ignores physics collision by default. To adjust this, select Custom for the capsule’s Collision Preset and expand the section. Set Collision Enabled and make any adjustments to what should be ignored, overlapped, or blocked (most likely you want your Projectiles set to Overlap, but that’s going to depend on how you have your projectile set up).

Assuming your projectile is a physics object, when your projectile hits the character while the character is standing still it should react as intended.

Hope that helps!

Ben Halliday

Hi Ben Halliday,

That got it working and thanks for the explanation about the character not applying force.

To bump this, I’ve encountered the same problem on my pawns, but with a vehicle. I’ve set the collision on the CapsuleComponent to Set Collision Enabled, but my vehicle just “pushes” pawns away. Only if they run directly at the vehicle will the “ReceiveHit” trigger.

Hey Aussiemandias,

Have you set the collision for both the vehicle pawn and the other pawns to Set Collision Enabled?

This just helped me figure out why I could walk through an open door but couldn’t shoot through it. I had a trigger volume (BoxComponent) and had left the collision preset at OverlapAllDynamic I needed to change it to Trigger.