Jump to content


TransformAroundPoint and Starling

Recommended Posts

I'm trying to use the TransformAroundPoint on a Starling Sprite but it fails.


I'm not sure what exactly TransformAroundPoint does internally, but I guess it uses some properties that are not there on a Starling Sprite ?


The error is:


Link to comment
Share on other sites

That's correct - the TransformAroundPointPlugin relies on certain DisplayObject methods like localToGlobal() and globalToLocal() but it looks like those exist in Starling as well. It should be relatively simple to crack open the plugin file and swap out flash.display.DisplayObject for starling.display.DisplayObject. Does that work for you?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.