How to set collision based on opacity

Hi,

I’m looking for a way to do a set collision based on the material opacity. Is that possible? I know how to set a material parameter from blueprints, but would also like to do a get.

What I would like to achieve is to disable collision to true if an is fully translucent.

You can get the parameter values from your dynamic material by using a get scalar parameter value node. Then you compare this value with a branch and set collision to no collision if it’s zero.

Thanks for your reply!

There are however no scalar parameters in my material. The value that I would like to read comes from a material function. Would it be possible to read from that?