- Home /
Creation of Edge Colliders at Runtime
I need to be able to create an edge collider for a dynamic sprite at runtime. I was wondering if there is no simple way to just create the collider from the alpha channel of the texture, since the shape of the sprite will be deformed over time. Any tips? I am working in UnityScript, but if needed, I can likely convert c# to UnityScript if the code isn't too long.
Comment