how to disable collision altering trajectory of a projectile

Hi all,
anyone know how to disable altering a trajectory of a projectile after a collision ? I need to simulate a projectile hitting some flying enemies, and after the collision, i remove the enemies that were hit, but need the projectile to continue its original direction so it can hit other enemies in the same direction.

Thank You
I just discovered that i can do this by setting the body fixture that it is a sensor. It works fine but know my prijectile does not collide with the walls. How can i do to have the projectile behave normally when colliding with the walls, but dont alter the trajectory after colliding with some enemies ?

In oher words: I need a body that will act as a sensor when colliding with some bodies and act normally when colliding with others. Any idea ?

Thank you all again...
Use two bodies or fixtures (either with a weld joint or in the same body). Have one particles of them be in the same collision as the walls, have the other be in every collision group but have isSensor set to true.

Original thread: https://box2d.org/forum/viewtopic.php?t=5561