Collision mask (polygon) for sprites that are partly invisible


I’ve used an online vector graphic software to make sprites/images.
I can make a sprite (example-rectangle) and make half the rectangle invisible (100% transparent)

When this sprites uploaded to Ready, will the polygon collision mask only wrap around the visible parts of the sprite (making a square) or will it detect the invisible half of the rectangle and make a rectangle polygon mask that wraps around the entire rectangle sprite?

Hey @Suzzy-Grey, yes.

sprite test

At the same time, interaction with other objects for the Polygon and the Box collider will be different

1 Like