Jump to content
GreenSock

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

Greensock 2D physics

Recommended Posts

Hi Greensock lovers,

 

How can i achieve this () with Greensock 2Dphysics? And as extra I want to have a cursor hover function. Basically when you hover with your cursor the "object" should be pushed somehow.

 

Thanks.

 

Fatih 

 

 

 

See the Pen amyyyw by labdev (@labdev) on CodePen

Link to post
Share on other sites

Hi @fatih. GSAP's Physics2DPlugin isn't for that type of effect. It's not intended to be a full-blown physics engine with collision detection, world dynamics, interplay between objects, etc. That'd make it at least 10x its size and wouldn't be at all appropriate inside GSAP (since it's built around animations that have a specific duration and can be placed in timelines, etc.). Sorry. It sounds like you'd be best served by finding a good full-blown physics engine. 

  • Like 1
Link to post
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.

×