Jacks Posted January 5, 2023 Share Posted January 5, 2023 I can not get quickTo to work rotateX. It is working fine with the regular to. The CodePen shows an example. I am trying to use this in a SolidJS project, and am actually getting an Maximum call stack size exceeded error. I don't get that in the CodePen, but it still does not work. I didn't see anything in the documentation about quickTo only working with x and y, so I am assuming this should be possible. The error incase anyone is interested. See the Pen wvxogRX by jack_s (@jack_s) on CodePen Link to comment Share on other sites More sharing options...
Solution GreenSock Posted January 5, 2023 Solution Share Posted January 5, 2023 You need to use rotationX, not rotateX Name aliases like that don't work in quickTo() (it's part of the optimization, as indicated in the docs). Does that clear things up? Link to comment Share on other sites More sharing options...
Jacks Posted January 5, 2023 Author Share Posted January 5, 2023 Wow, that was simple, 2x performance! Thank you. 1 Link to comment Share on other sites More sharing options...
GreenSock Posted January 5, 2023 Share Posted January 5, 2023 Great! Love hearing that. Enjoy! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now