Can you disable collision of the capsule for certain animations?

Your a genius thanks a lot, works great now when I put the movement mode into flying. Thanks for all your help