Author Topic: Rotating sprite not rotating visually.  (Read 3111 times)

CoderBear

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 34
    • View Profile
Rotating sprite not rotating visually.
« on: May 02, 2013, 04:27:43 PM »
Ok so I have a sprite that I need to rotate in a single spot along the Z axis.  When the program is running you can see the Z is in fact in a circle, but visually the Sprite is not following suit.  What am I doing wrong as this happens without issue in the game that is using 2D toolkit.

I would include code but the code itself is functioning properly and it is attached to the object.

I also tried using tween animation and nothing.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Rotating sprite not rotating visually.
« Reply #1 on: May 02, 2013, 06:14:26 PM »
Is the panel marked as "static" in the UIPanel script? Try turning that off.

CoderBear

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 34
    • View Profile
Re: Rotating sprite not rotating visually.
« Reply #2 on: May 03, 2013, 11:51:02 AM »
OMG Nicki you hit the nail on the head.  Thank you for your quick and accurate and well worded response.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Rotating sprite not rotating visually.
« Reply #3 on: May 03, 2013, 03:37:51 PM »
It's not my first time. ;)