I can get both their masses, but I can only access velX and velY for otherObject, not for the particle referenced by the particlesCollision object. If I try to access particle.velX as follows
public function collisionHandler( e:ParticleEvent ) {
trace("particle velX = " + e.particle.velX);
}
I get the following error message: 1119: Access of possibly undefined property velX through a reference with static type org.flintparticles.common.particles:Particle.
Substitute e.otherObject.velX above and it displays a credible velocity value. What am I missing? Also, when two particles collide, how does Flint determine which is the particle and which is the otherObject?