benoit Posted June 26, 2020 Share Posted June 26, 2020 Hi, Is it possible to use pixi and modifiers plugins and how to ? See the Pen bGErpxY by benoitwimart (@benoitwimart) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted June 26, 2020 Share Posted June 26, 2020 Hey benoit. No, nested plugins are not supported. What's your end goal? Perhaps we can help you structure things in a nice way. Link to comment Share on other sites More sharing options...
benoit Posted June 26, 2020 Author Share Posted June 26, 2020 Maybe MotionPath & Pixi (I remember a codepen by Osublake). Link to comment Share on other sites More sharing options...
ZachSaucier Posted June 26, 2020 Share Posted June 26, 2020 I think you're thinking of this thread? You can use modifiers with Pixi, just not the PixiPlugin. Does that make sense? But you may not need the modifiers plugin. If you describe your goal perhaps we can point you in the right direction. 1 Link to comment Share on other sites More sharing options...
OSUblake Posted June 26, 2020 Share Posted June 26, 2020 If you need to animate x and y, you really don't need to use pixi plugin. x and y are properties of the display object. The plugin helps out for stuff like scale. tl.to(part,{ pixi:{ scale:0.5 }, duration: 4, x: 500, y: 500, modifiers:{ x:function(x){return 0; } // for test :D } }); 4 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