New transform of rule tile: rotate and mirror
samgong opened this issue · 6 comments
I have a rule tile mixing grass and dirt on ground:
3 | ||
---|---|---|
4 | ? | 5 |
5 |
It works well by choosing MirrorX for horizontal grass.
However vertically, the following form does not match by choosing Rotate or MirrorXY.
4 | ||
---|---|---|
3 | ? | 5 |
5 |
I know well that I could manually create a new tile sprite by flipping it and set up both rules with rotation transform to accomplish it.
But it would be better to have a new transform for "rotate and mirror" to get it done with one rule and one tile sprite.
Hi, I tried adding this new transform rule in:
https://github.com/Unity-Technologies/2d-extras/tree/rotatedmirror
If you can, could you try it out and see if that is what you are looking for? Thanks!
Hi, perhaps I don't quite understand how the Transform Rule should work for you. If you could share how your Rules work and how they look like in the inspector, that would be helpful! Thanks!
Thank you. It is exactly what I need!