Forum rules - please read before posting.

MIrroring R for L when using 2d_pritesUnityComplex

Is it possible to mirror sprites for 2D_SpritesUnityComplex like when using just 2D? And if so what is best way? Thanks!

Comments

  • The "Frame flipping" option is a feature of the Sprites Unity animation, not Sprites Unity Complex. You will need to supply animations for both left and right when using it.

    However, it is possible to animate the Sprite Renderer component's "Flip X" property inside your animations - so you don't have to create separate left/right sprites for each animation set, just use one for both and flip one of them.

  • thanks Chris

  • Hi, so I have tried this but am getting a strange rotation on the z plane. I have so far just added a x rotation key to be -1 for the left animation of Startled. Please see video and screenshot here:

    https://www.dropbox.com/sh/gfgazzhjzic371p/AAAk2p00n09hxLiwkjdTHJ3oa?dl=0

  • This looks like it's caused by a non-zero transition time.

    Using the Flip X property I mentioned avoids this, since it's only a checkbox rather than a number.

    The alternative method would be to rely on a script such as this.

  • edited November 2021

    Ok got it 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.