Workflow for making character crouch based on camera height?

My first thought was to use blend spaces and interpolate between animations based on camera height, but so far results are not great so I`d like to hear some input for those that have accomplished it.