Can you disable collision of the capsule for certain animations?

Do I need to change the collision setting on the static mesh I want to pass through?