Forum rules - please read before posting.

I cannot seem to change the scale of an animation

Hi there!
AC version: v1.83.0
Unity 6.1 6000.1.3f1

I am very new to Unity and AC so for now I am still exploring the available tutorials.

What I did.
Dragged a sprite for an NPC character. Then as in the 2D primer tut, I went through the Character Wizard and created an NPC character.
Created my anim layer by slotting all my sprites to a new animation clip.
Created an animation controller that reads the anim from the previous step and slotted it in the apropriate area.

I now want to repo and resize the character. So as in the tut I transform the parent layer. Here is the odd part. When in the editor or in the game tab everything works as expected. The character translates and scales correctly. When I actually run the game the scale is back to 1,1 while the translate behaves correctly.
I found a previous thread with a similar issue.
Chris mentioned something about the sorting map component.
There is a Follow SortingMap component in the parent layer as this was created from the Wizard. Even if I untick the Follow default SortingMap nothing changes.

What am I doing wrong!

Thank you all in advance!

Comments

  • The Sorting Map sets the scale of the character based on their Y-position in the scene (to give the illusion of depth).

    If your scene has one, it'll be listed in the Scene Manager. Do you have one assigned? If so, you can uncheck its Affect character scale? property to see if that's the cause.

    A character's scale should typically be set as (1,1,1) when they're at "normal" size. If you want the sprites themselves to be larger, you can edit the sprites themselves by selecting their assets and reducing their Pixels Per Unit values.

  • Hi Chris!

    I didn't have a sorting map. The Pixels Per Unit setting did it thank you!

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.