How to set a pawn(no mesh) can collide?

CollidePawn.PNG I add a capsule component for colliding,use WASD for moving,but the pawn still overlap a cube(with collision)。How to make the pawn stop when near to other actor with collision?

Click on the capsule and look for collision settings.

Thank you!