Jump to content
GreenSock

BernalCarlos

Constrain Scaling To avoid Mirror Efects

Recommended Posts

Hello,

 

I'm doing some really cool things with the TransformManager, but once again I need some help.

 

Is there a way to constrain scaling to positive values, so that mirror effects do not happen?

 

To make myself clear, take a look a the images:

 

1. Original State - Ok Scaling: http://www.flickr.com/photos/90499524@N07/8273520758/in/photostream

 

2. Still Ok Scaling: http://www.flickr.com/photos/90499524@N07/8272455391/in/photostream

 

3. Not Ok Scaling:

http://www.flickr.com/photos/90499524@N07/8273520798/in/photostream

 

Thank you so much for your help.

Link to comment
Share on other sites

Sure, you should be able to just set a minScaleX and minScaleY to 0 on the TransformItem. :)

  • Like 1
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.
×