Jump to content

Sprite.getLocalUnmodifiedPosition strange behaviour


hungrybutterfly
 Share

Recommended Posts

I'm on version 1.1.3 and just started using Sprite.getLocalUnmodifiedPosition. Lets assume my test point is within the sprite area.

 

If the sprite has unit scale applied I get numbers back between 0 and SpriteWidth for x and 0 and SpriteHeight for y. All good.

However if the sprite is non-unit scaled on x I get back numbers between 0 and 1. Non-unit scaling on y works the same as unit scaled.

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...