Box Collision for a weapon attached to character mesh

I know about the physics asset but i do not know how to trigger these capsules for collision so can u suggest a link or a course that explain how to do it and thanks in advance.