Is possible to create physics body by alpha channel from texture?
p.s.: I known that Defold support a few type of physics body: box, sphere, tilemap and triangle.
Is possible to create physics body by alpha channel from texture?
p.s.: I known that Defold support a few type of physics body: box, sphere, tilemap and triangle.
No, I’m afraid that’s not possible.
I read in manual that Defold is able to generate convex shapes from tilesource by alpha channel. May be that’s my way…
Yes, that can be one way to do it. But it might be a bit tricky to author the content.
Another is to simply create a collision object and add different shapes to fit the sprite.