14-12-2021, 08:42 AM
(20-12-2017, 11:00 AM)IgorKovalev Wrote: Hello!
I need to instantiate fluid emitters in runtime but can't do this. After I have instantiated emitter I place it's renderer to Camera's ObiFluidRenderer renderers list but it does not draws anything. Is it possible to instantiate emitters in runtime and what is the right way to do that?
Thank you!
Yes, it's possible! The manual contains code to do this:
http://obi.virtualmethodstudio.com/manua...ctors.html
The only part that's missing in the sample code is adding the particle renderer to the fluid renderer. Can you share the code you're currently using?
kind regards,