thei Posted October 11, 2023 Share Posted October 11, 2023 See the before and after rectangles. FLIP should animate between these two states, but it is ignoring/overwriting the rotate and scale values. Also if I specify "absolute: true", as per the last two rectangles, it goes horribly wrong. Why? How to fix? See the Pen OJrqWVB by nedmartin (@nedmartin) on CodePen Link to comment Share on other sites More sharing options...
Solution mvaneijgen Posted October 11, 2023 Solution Share Posted October 11, 2023 Hi @thei you have to tell Flip which properties you want to watch changing, in your case you also want to watch the transform property. When you do that everything springs to life. Hope it helps and happy tweening! See the Pen YzdgZmw by mvaneijgen (@mvaneijgen) on CodePen Link to comment Share on other sites More sharing options...
thei Posted October 11, 2023 Author Share Posted October 11, 2023 9 minutes ago, mvaneijgen said: Hi @thei you have to tell Flip which properties you want to watch changing, in your case you also want to watch the transform property. When you do that everything springs to life. Hope it helps and happy tweening! Thanks Not sure why I didn't try that... I even knew about it for background colour and stuff but for some reason assumed transforms would be automatically included and never even tried it. The absolute: true ones are still broken, but I guess I don't really care why that is as the others are working so I shall just use that. 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