Jump to content
Search Community

ginphreak

Business
  • Posts

    17
  • Joined

  • Last visited

Posts posted by ginphreak

  1. No, unfortunately the problem was only partially resolved. Unfortunately I don't have time to put together a demo. In any case I would only need to know how to update the fromVars at the start of the trigger.

  2. Thank you for the reply but i solved the problem with this code:

    gsap.fromTo(modelCoords,{
      rotZ: -0.3,
      rotX: 0.25,
      rotY: function(){return rY},
    }, {
      rotZ: 0.5,
      rotX: 0.8,
      rotY: 3,
      scrollTrigger:{
        ...
      }
     });

     

  3. Hi Forum!!

    How can I update the "from" values in fromTo() dinamically? Es:

    gsap.fromTo(modelCoords,{
      rotZ: -0.3,
      rotX: 0.25,
      rotY: rY,
    }, {
      rotZ: 0.5,
      rotX: 0.8,
      rotY: 3,
      scrollTrigger:{
        ...
      }
     });

    rotY is update in an animationFrame, so on trigger star I would that rotY starts from its instant value to 3.
    Can you help me please?

  4. Hi forum,

    I have a problem with an animation very similar to the one in the example. What I would need is to change panels on every single scroll, without interludes. Can you give me some advice?

    Let me explain better: in the example the horizontal part does not change as if it were a slide.

    See the Pen YzygYvM by GreenSock (@GreenSock) on CodePen

  5. Hi forum, i have a stupid question, bu i spend much time on it: i want to move a fixed div (a simple square div) on page from center to right and from right to left. But with this code second .to() starts from center and not from last position. Ho can i start from last position? Thank you and sorry for the stupid question.

    See the Pen jOdjOZW by gmanzavinoilabsolutionsit (@gmanzavinoilabsolutionsit) on CodePen

  6. Hello everyone,
    i have a problem with scrollSmoother plugin and sticky objects created with uikit (https://getuikit.com/docs/sticky with show-on-up parameter active). I take the object I want (the header in this case) out of the "smooth wrapper" and the animation works fine except at the beginning (when the page has just loaded). Has anyone already found themselves in this situation? Any suggestions?

    Thank you all!

×
×
  • Create New...