How to make capsule collision not collide with pawns

So that is in runtime, how to set that the capsule component doesen’t collide with pawns.

You can make a new collision class/Collision chanel. (under Project Settings). Then you can set this on the capsule to ignore.