Jump to content
GreenSock

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

Physics2DPlugin

Recommended Posts

Hi, Greenies!

 

I'm trying to use Physics2D to do a Sideral Space effect, with this wonderful plugin as stars (small round bubbles).

 

But I don't even know how to get started on using the Plugin.  

 

Do I have to define a CSS bubble?

 

Could I do it from starting at the center of the banner to outside? (300x250.)

 

Help me!  :-o

 

 

P.S.: Sorry for the bad English, i`m from Brazil.

 

Link to comment
Share on other sites

Hi PlacidoPossam :)

 

Welcome to the forum and thanks for joining Club GreenSock.

 

Please take a look at this GreenSock demo using the Physics plugin.

 

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

 

I think you can fork that to help you get started. The docs are also here:

 

https://greensock.com/docs/#/HTML5/GSAP/Plugins/Physics2DPlugin/

 

Happy tweening and welcome aboard.

:)

  • Like 4
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.

×