Obi Official Forum
Help How to stop rotation of fluid at startup - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html)
+--- Thread: Help How to stop rotation of fluid at startup (/thread-529.html)



How to stop rotation of fluid at startup - emilyyujieli - 10-04-2018

Hi
Now l keep the fluid in a bucket.

How can l set the fluid from stop to rotating instead of the emission process.
The fluid is already in the bucket when l start the project.

How should l do it?


RE: how to set the fluid from stop to rotating - josemendez - 10-04-2018

(10-04-2018, 09:52 AM)emilyyujieli Wrote: Hi
Now l keep the fluid in a bucket and how can l set the fluid from stop to rotating instead of the emission process.which means the fluid is already in the bucket when l start the project.how should l do?

Hi,

If I understood correctly, you want the fluid to already "be" in the bucket at the start, instead of being emitted. To do this you will have to either compose multiple emitter shapes for a single emitter, and set its emission method to "burst" mode instead of "stream", or write your own emitter shape that spawns the particles at precise locations within the bucket. You can do this by extending ObiEmitterShape class, and implementing its GenerateDistribution() method.


RE: how to set the fluid from stop to rotating - emilyyujieli - 10-04-2018

(10-04-2018, 09:58 AM)josemendez Wrote: Hi,

If I understood correctly, you want the fluid to already "be" in the bucket at the start, instead of being emitted. To do this you will have to either compose multiple emitter shapes for a single emitter, and set its emission method to "burst" mode instead of "stream", or write your own emitter shape that spawns the particles at precise locations within the bucket. You can do this by extending ObiEmitterShape class, and implementing its GenerateDistribution() method.

yep!
 I will have a try!
thank you so much!


RE: how to set the fluid from stop to rotating - emilyyujieli - 11-04-2018

(10-04-2018, 09:58 AM)josemendez Wrote: Hi,

If I understood correctly, you want the fluid to already "be" in the bucket at the start, instead of being emitted. To do this you will have to either compose multiple emitter shapes for a single emitter, and set its emission method to "burst" mode instead of "stream", or write your own emitter shape that spawns the particles at precise locations within the bucket. You can do this by extending ObiEmitterShape class, and implementing its GenerateDistribution() method.

Hi
I am coming again! Gran sonrisa 
I am succeeded in making the fluid be in the bucket in your method.Thank you!
And now I wanna  see the still water without the emission.Because the emitter emits the water and let it stay in the bucket now when I start the project.I don't wanna see the process .how can I do?