Hi,
When I export to Unity the region order of my images gets swapped for some reason (the arm of a soldier is now in front when in Creature is on the far back).
I have tried the following:
1) Export with the Unity Method (create asset, place bytes file and also mdata renamed to json hoping it would help )
2) Export images/spritesheet and create a sprite renderer with the usual Unity method. With this method the order is correct.
What can it be?
Cheers,
Heartigan
Region Order
Re: Region Order
Hello,
There are 2 options you should try first:
1) There is a Counterclockwise Toggle on the Unity Plugin. Switch that ON/OFF to change triangle order
2) There is an offset_z parameter which decides how much z depth each region is pushed forwards or backwards. Again that value can be negative or positive. Try playing around with that as well.
I think with 2), it should address your issue. Depending on the type of shader you are using, you might have to toggle 1) to make it appear ( but the default Sprite Shader does not, the others might need a different clockwise/counterclockwise order ) while you adjust 2).
Cheers
There are 2 options you should try first:
1) There is a Counterclockwise Toggle on the Unity Plugin. Switch that ON/OFF to change triangle order
2) There is an offset_z parameter which decides how much z depth each region is pushed forwards or backwards. Again that value can be negative or positive. Try playing around with that as well.
I think with 2), it should address your issue. Depending on the type of shader you are using, you might have to toggle 1) to make it appear ( but the default Sprite Shader does not, the others might need a different clockwise/counterclockwise order ) while you adjust 2).
Cheers
Re: Region Order
Hi,
The region offset solution worked. Thanks for the fast reply!
Cheers,
Heartigan
The region offset solution worked. Thanks for the fast reply!
Cheers,
Heartigan