Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
blizve0

Pls Pls Pls Help Me With This Jelly Blob

Go to solution Solved by GreenSock,

Recommended Posts

Hello Everyone

I Want a Jelly Blob which Follows the Mouse and Squuezes and Rotates To Match the Mouse Move Direction

The Probelm is The When The Angle of Rotation Switches from 0 to 180 or -180 or from -180 to Positive,

The Jelly Blob Changes Direction Suddenly Giving a Jittery And Bad Animation.

You can test this out by just Following the Mouse in a Circular Motion, and The Jelly Blob will keep Switching Direction .

If Anyone Can Fix This it Would be very Helpful
Thanks In Advance.

See the Pen bGRvvOe by blitzve0 (@blitzve0) on CodePen

Link to comment
Share on other sites

  • Solution

Perhaps just add "_short" to your rotation values to tell GSAP to animate in the shortest direction: 

See the Pen YzQabVQ?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Is that what you're looking for? 

  • Like 4
Link to comment
Share on other sites

Love You Brother 😍😍😍

I Never Thought I actually Would Find a Solution on the Forum ♥♥♥♥

  • Thanks 1
Link to comment
Share on other sites

6 minutes ago, blizve0 said:

I Never Thought I actually Would Find a Solution on the Forum ♥♥♥♥

Hey, these forums are pretty awesome if I do say so myself ;) 

 

Glad it was helpful. 🙌

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×