Does IgnoreActorWhenMoving() actually work?

This is certainly a hard topic to find a lot of solid documentation about. Do you have a full example of all the code involved in this? It just seems to be little snippets here and there. Makes it hard to piece everything together. If I have a gun that shoots a projectile, this code will add the pawn holding it to the ignore actor list? Usually I set the gun not to block anything since i don’t want it to act as a shield. But i have issues with forward momentum causing bullets to hit the player. Do I need to just include the ignore actor stuff from the original question?