-
Couldn't load subscription status.
- Fork 15
Open
Description
Atm colkind uses BBoxMode, so sprites like this:
Are exported like this:
In this example, because the BBoxMode is 2, colkind is also set to 2
Precise - <colkind>0</colkind>
Rectangle - <colkind>1</colkind>
Ellipse - <colkind>2</colkind>
Diamond - <colkind>3</colkind>
Not sure how to fix this as UMT can't tell what the mask shape is
But it does know if the sprite uses a separate collision mask (values here), so:
- if
sprite.SepMasks==1(Precise),<colkind>=0 - if
sprite.SepMasks==0(AxisAlignedRect ie. Rectangle),<colkind>=1
It's not perfect as Precise is also used for Ellipses and Diamond. But we know at least when Rectangle is being used, and Precise is probably a safe default in any other case.
Metadata
Metadata
Assignees
Labels
No labels

