To get into interaction between elements, one suggestion: We realise element/particle behavior by scripting the emitters as follows (example):
We have two emitters, one emits fluid water particles and one emits e.g. more solid/viscous particles
When particles of both emitters interfere with each other, those particles will be removed from their emitters, and simultaneously a new emitter is created which has particles at the positions of the removed ones
the whole emitter creation (with e.g. physx-parameters etc) is handled by a lua script which knows both previous emitters and the number of particles that interfered from each emitter.
based on this, the script can determine the NEW parameters for the new emitter, which, as said, owns the colliding parameters
This is a suggestion based on the approach, that it would probably make no sense to have an object for each single particle (and probably ist not even 'simply' possible with physx) which parameters you could dynamically change.
To get into interaction between elements, one suggestion: We realise element/particle behavior by scripting the emitters as follows (example):
This is a suggestion based on the approach, that it would probably make no sense to have an object for each single particle (and probably ist not even 'simply' possible with physx) which parameters you could dynamically change.
(Could possibly solve #63 )
Open for discussion/alternatives.