Forum rules - please read before posting.

Sorting Map affects scale only in edit-mode

edited June 2017 in Technical Q&A
I've got a Mecanim-based character that follows a sorting map. Sorting map is set up according to the video 2D game tutorial. I start with the scale of 100%, then go down to 50%.
I'd also checked "Edit-mode Preview" option to, well, preview the changes I make to my markers.
The problem is - both layer order and scale change perfectly in edit-mode, but when I enter play-mode, scale remains the same no matter what. We use Spine to animate our characters, so every character has SkeletonData with the default scale (1, which makes the character far too big, so we set it to 0.004). I tried searching the forums and this Q&A for possible solutions, but no luck so far.

Comments

  • Issue has been resolved. It seems like Mecanim is not compatible with Sorting Map. Opting for Sprites Unity mode while keeping the same animation setup resolved the issue.
  • The animation engine itself shouldn't be a restriction, however you do need to ensure that the Sorting Map has full control over its own scale.  If your animations are also affecting the scale, you will need to make your Animator / rig etc is a child object of the Sorting Map.
  • Good to know, thanks!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.