In principle you could use a material that swells in water, like a nylon, and a material that does not swell, but you would need to check what will overmold to what.
It would have a very slow response rate as (depending on a number of factors) it takes hours or even days to absorb enough to swell noticeably. This probably makes it unworkable in the real world.
A glass filled nylon on one side and an unfilled on the other might work. Nylon 6 is probably best as it absorbs most water.
Re water or temperature, re material choice, a lot depends on other factors
Regards
eng-tips, by professional engineers for professional engineers
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips Fora.