Teardown-Issue-Tracker-Maintainers / Teardown-Issue-Tracker

A public repo for the community to track issues/bugs/feature requests in Teardown.
12 stars 5 forks source link

[Feature] Query particles in scene #273

Open hypnotox opened 2 years ago

hypnotox commented 2 years ago

Is your feature request related to a problem (if not, explain why you think this feature should be added)? Please describe.

Modders could use this information to determine, or at least approximate, if some particles have been close or touching some body/shape/voxel.

This would be useful especially for my own mod, a flamethrower where I'm currently simulating particles being thrown in a cone. This leads to dissimilarities with the particles in some edge cases and is a huge overhead in regards to deflection of the "flames".

Describe the solution you'd like

A way to tag spawned particles and to be able to query them. I'm not sure how exactly they are implemented in the engine, so unsure what realistic options there are.

Describe alternatives you've considered

I'm currently simulating a simple model for the expected behaviour, but it's by far not exact and leads to dissimilarities when deflecting and in some edge cases.

Additional context

No response

nathangur commented 2 years ago

I would love for this to be present in some form as well. I've had multiple occasions where I wished there was a way to get particles touching things.