Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding ObiEmmitor gameObject in code
#5
But that is the thing, so far I am trying to control it by setting the speed to zero. I set it to zero in an update though. I think I will try to add a counter, that just ensures that it keeps having its speed for 1 second.

Regarding the materials, I copied the whole emitter component with all its values, so I might have confused the two materials, but only in my post, not in Unity. So that does not explain why the faucet fluid has one shader / material and the pistol fluid has another... or lacks one. Unless it is set somewhere else than on the emitter?

Those links sure do explain a lot, so thanks :Sonrisa hope I can find a solution using them.
Reply


Messages In This Thread
RE: Adding ObiEmmitor gameObject in code - by Caldor - 29-03-2018, 11:51 AM