capsulecollider rotation

I need to put a capsule collider on a figure arm that is pointing 45 degree downward as default. Is there any way to set the direction of the capsule to your own direction instead of just x, y or z?

If I rotate the figure arm so that it’s in more of a T position by rotating it 45 degrees and try to apply the capsule collider to the bone in X direction then the capsule collider seems to inherit the rotation of the bone.

Is there a way to get the capsule collider pointing where the arm is pointing?

Thanks,

A possibility is to create a separate empty gameObject with only a capsule collider and just rotate the empty gameObject 45 degrees and it should in turn also rotate the capsule collider.

Or even attach the gameObject to the arm and it’d follow the arm’s rotation.