Closed jamesb93 closed 2 years ago
Hi @jamesb93 - You can take a look at this demo and see if it helps with your use case: https://ptsjs.org/demo/?name=physics.particles
The physics engine in Pts is still very rough. You can also consider using other physics engines with Pts together.
Hope this helps with your question. Closing this issue now.
Hi there,
Are there are any "batteries included" methods for detecting collisions between Particles in a World? I'd like to make a cute music app where people bash around which when collide trigger sounds. I'm guessing I'd need to write something relatively hefty inside the animate() loop if not but I was curious if I had missed a good example somewhere of this being performed already.