Chapter 308: Physics2D
Core Idea
gsap.registerPlugin(Physics2DPlugin)
Key Concepts
-
Property
-
angle
-
gravity
-
acceleration
-
accelerationAngle
-
friction
-
xProp
-
yProp
Code Examples
gsap.registerPlugin(Physics2DPlugin)
- What it demonstrates: typical usage of Physics2D in a GSAP animation.
Key Takeaways
-
Property
-
angle
-
gravity
-
acceleration
-
accelerationAngle