mrdoob/three.js — Issue #911: Intersection with ParticleSystem - Update?
Author: CheapBastard
Created: 2011-12-14 20:14:02+00:00
State: open

I gather from various readings and my own experimentation that there is no way to do ray intersection with particles in a WebGL particlesystem - is that still correct? I can get the ray intersect to work perfectly with canvas particles, but not with the particlesystem that WebGL requires.

I have read this issue (#351): https://github.com/mrdoob/three.js/issues/351
And that seems like a logical approach, but the THREE.Collisions and CollisionSphere has been removed from the code base.

Is there an updated way to implement this approach? Has CollisionSphere been moved or removed? Do I need to add an actual 'real' sphere to my scene for each particle? If so, why don't I just use spheres instead of particles in the first place - won't that kill the performance?

Please tell me there is a way to handle collisions for a particlesystem! For what it's worth, I am trying to do mouseover/mouseclick events on particles in a system of about 5000 particles.