Jump to content
Search Community

joris-rotteveel

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by joris-rotteveel

  1. Thank you @OSUblake , That does the trick, the docs might not be up to date then : https://greensock.com/docs/v3/Plugins/InertiaPlugin/static.track()
  2. Hi, I just bought a subscription to GSAP in order to use the InertiaPlugin. Unfortunately I am running into issues with the track function var tracker = InertiaPlugin.track(slider, 'x'); const vel = tracker.getVelocity('x'); The function track seems to be returning an Array and not a VelocityTracker object? I've created a codepen that demonstrates what I mean. Can someone point out what the correct way is to grab the velocity using the InertiaPlugin please?
×
×
  • Create New...