curtiswiens
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by curtiswiens
-
-
Sorry I cannot pen this. I have a Adobe Animate project I took over and I want to add some particle effects. The array seems to be working but it is only animating one dot. Has anyone used 2dphysics in Animate. I am about to just code this by hand but would rather not.
-
2dPhysics plugin in Adobe Animate
in GSAP
Posted
I have not been coding all year so I am sure I am just missing something:
let dots =[];
for (i = 0; i < 80; i++) {
dots.push(this.dot);
}
gsap.to(dots, {
duration: .5,
physics2D: {
velocity:20,
angle: 5,
gravity: 800
},
delay: "random(0, 2.5)"
});