DoTween Path issue with NGUI Sprites
« on: March 25, 2016, 11:11:15 PM »
Hello everyone,

A new DoTween Pro user here and so far the tool has been a charm to work with.

I am facing a strange bug with applying the Path Animator with NGUI sprites.

When I run my 2D based project, the sprite rotates to 90 degrees on the Y-axis this making it invisible as it can no longer be seen.

I have tried locking the rotation but to no avail.

NB: Unity based Sprites work perfectly well.

Has anyone encountered this strange bug ?

Thanks

*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: DoTween Path issue with NGUI Sprites
« Reply #1 on: March 28, 2016, 01:10:18 AM »
Hi,

Uhmm I believe it might be because NGUI sprites use a different axis order than Unity's. Can you set it inside a parent, rotate it so it uses the same axis as Unity, and tween the parent?

Cheers,
Daniele

Re: DoTween Path issue with NGUI Sprites
« Reply #2 on: March 30, 2016, 08:21:14 AM »
Thanks Daniele,

I decided to avoid using NGUI sprites just for the sake of consistency.

Regards