Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
BillE

PIXI.js Directional Rotation

Recommended Posts

Would like to know if it is possible with gsap3 to use directional rotation. 

 

I've read this post but it seems dated, looked like it was working with TweenMax

 

 

Not sure what steps I need to use to get it to recognize "_cw" , "_ccw" when rotating

 

I've tried wrapping PIXI pluigin also

pixi:{ rotation: 30 + "_ccw" }

I know that's in radians, but even when converting I can't get it to work.  Can't really show a pen to show the problem but the pixi object basically just disappears with everything I try.  

 

Thanks

Share this post


Link to post
Share on other sites

You can make the plugin yourself.

 

 

  • Like 2

Share this post


Link to post
Share on other sites

Hey Blake, thanks  a ton for that, I had previously visited that thread but didn't see that.  Thanks and works perfect.

Share this post


Link to post
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.

×