Use Alpha to dissolve an object progressively

Hi,

I’ve played around with this concept but can’t make it work.

How would you use Alpha settings to take (say) a cube, and dissolve it from right to left over time?
It starts as a solid cube and finished as a 100% transparent cube, but dissolves from one side to another.

To add: once transparent, to also not have a physical presence - i.e., no collisions. Can this also be done progressively? Probably matters less, as I can just turn it off once the alpha hits max.

Way beyond my skills :slight_smile:

Thanks,

A

maybe this can help?

Hey, beyond my skills too. If we where to use your example (a cube), i guess you could do a cheap hack and just scale it on one axis, but i’d imagine you need to do this any object, so that solution is out of the question.

If you are working in 2d, spritemasks will probably do the job, but those won’t do it in 3d, so to do that i think the only solution is some kind of shader. Sadly i don’t have any experience with them at all, i have just seen the magic performed by them :slight_smile:

I know my answer doesn’t really provide anything meaningful im sorry i couldn’t really help, you said you have played around with the concept, so you probably tried most of what i mentioned already. Whatever, hope theres at least something in there worth reading. Good luck