Hi you all! I can’t get this work:
prt01.onEnterFrame = ParticleBehavior.create(“repel”);
The particle is prt01. Any other method of the class works properly, but ‘repel’ seems broken.
I’ve tryed to initialize the vx, vy, v vars to =0 in the class just to see, and the particle moves. But I’d like not to modify the original class, since I could do something wrong.
Anyone knows how to get it work?
Thank you!