4 Replies Latest reply on Feb 26, 2008 6:02 AM by Chunick

    359 Degree Sprite Rotation Crashes App

    McFazstp
      This is a weird bug I've been chasing for a while with spontaneous crashing of a Director App in OSX. I've now narrowed it down to when I rotate a sprite to 359 degrees. It only occurs at higher resolutions ( ie. 1680 x 1050 ). At lower resolutions it is quite stable. I can move and scale the sprite as much as I like. I can rotate it to any other angle but 359 degrees crashes my application.

      Anyone seen anything like this?

      The crash log refers to EXC_BAD_ACCESS/ KERN_INVALID_ADDRESS in unknown thread if that means anything to anyone.

      Edit:
      It seems the sprite's flips affect the angle.
      flipH = FALSE, flipV = FALSE, crash at 359 degrees
      flipH = FALSE, flipV = TRUE, crash at 1 degree
      flipH = TRUE, flipV = FALSE, crash at 181 degrees
      flipH = TRUE, flipV = TRUE, crash at 179 degrees