Open SaraLouisa opened 11 months ago
The particles already support collision. What you're asking for are specifically collision events.
While it's possible to add these, there is a caveat - the behavior of particles is somewhat local and not synchronized - they are considered visual effect.
This means that each user will see particles going in potentially different directions or different amounts.
Aa a result they are not as suitable for actual interactions and functionality. Any collision response should only be cosmetic.
I'm a bit wary of introducing a mechanism that would let people bios functional stuff like this, because it would not be guaranteed to be in sync and would be very confusing.
We could add more constrained implementation, e.g. for playing sound effects on impact and such, but probably nothing more general.
Is your feature request related to a problem? Please describe.
Particle collision detection would be a good way to trigger events and sounds on collision of the particle and would free up the need and resource to create model based balls, bullets etc. which need a lot of flux and physics to appear functionally
Describe the solution you'd like
a way to detect particles colliding with a collider so events or sounds could be triggered , thus making shooting games, ball games etc.. a lot easier to build
Describe alternatives you've considered
alternatively a way to attach something like a simple sphere collider to a particle so the collider can be used as a trigger object
Additional Context
No response