How to add collision?

You need to set for your character’s capsule component a “Pawn” collision preset.

And the capsule component from your character blueprint needs to be the root component, not the static mesh.