Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding ObiEmmitor gameObject in code
#11
(31-03-2018, 01:43 PM)josemendez Wrote: Hi there.

If you're using <3.4, you need to call fluidRenderer.SetupFluidRenderingCommandBuffer() after adding new particle renderers to the fluid renderer. In 3.4 this is not necessary (when having AutoUpdate enabled in the fluid renderer).

Regarding the faucet and the gun emitting at the same time, make sure the emitter shapes reference the appropriate emitters. You might have both shapes referencing the same emitter.

To use two )or more) different fluid materials at the same time, add two FluidRenderers to the same camera, each one referencing the appropriate particle renderer. Then give each one its own fluid material.

cheers,

Interesting. I will experiment with this a bit, thanks Sonrisa
Reply


Messages In This Thread
RE: Adding ObiEmmitor gameObject in code - by Caldor - 03-04-2018, 06:26 PM