How do i add shell ejection to a top down shooter game?

You can look at the VFX demo. It has shell ejection