Capítulo 308 de 411

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

  1. Property

  2. angle

  3. gravity

  4. acceleration

  5. accelerationAngle