payne199 Posted December 24, 2019 Share Posted December 24, 2019 I have been working on a project that involves a timeline that simply goes from one scene to another (one function to another) using onComplete. In a couple scenes I am successfully using the DrawSVG and Text plugins. Recently I have gotten involved in MotionPath and have successfully put together a scene using it. However, when I include the MotionPath scene in my main project, those other scenes that involve DrawSVG and TextPlug do not render properly. I get the following errors Could anyone explain to me why these plugins suddenly appear to be missing when all I have done is add the MotionPath plugin? I am including the MotionPath plugin like so: And have been successfully using the TextPlugin: And DrawSVG, locally Link to comment Share on other sites More sharing options...
OSUblake Posted December 24, 2019 Share Posted December 24, 2019 Make sure you're using v3 plugins. You're text plugin is v2. I can't tell what version drawSVG you're using from those images. Also, it's a good idea to register your plugins. gsap.registerPlugin(MotionPathPlugin, TextPlugin, DrawSVGPlugin); 4 Link to comment Share on other sites More sharing options...
payne199 Posted December 26, 2019 Author Share Posted December 26, 2019 That'll do it! Thanks OSUblake. 1 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