What does it Do:
This Script changes the Type of a Emitter (Elastics, Liquid, Dumb, Gas) if the Particles of the Emitter are inside/ or pass a user-defined object (for example a plane).
If the Particles yet again pass another object itâ€™s again possible to switch the Type of the Emitter
If the Particles once again pass another object itâ€™s possible to switch the Type of the Emitter to its original Type.
1_Object: If the Particles pass this Object they are switched to another Emitter whit a different Type
1_change from: The Type of the original Emitter
1_change into: The Type you want to have after the paticles pass the Object
1_emitterOne: The original Emitter
1_emitterTwo: The Emitter whit you want to switch to. It is getting itâ€™s Type Parameter from the change into Field
2_Switchback: If you set this to Yes you can switch the Particles back to the original Emitter (so youâ€™ll get itâ€™s original Type)
2_Switchback Object: If you set the Switchback to Yes you have to set a Object. If the particles pass this Object theyâ€™ll perform the Switchback
3_Emitter for Secondswitch: The Emitter you want to give the particles to after they have passed the SecondSwitch Object.
3_Secondswitch: If you put this to Yes you can perform another Emitter/Type switch. You need a third emitter and another Object for this.
3_Secondswitch Object: If you set the SecondSwitch to Yes you have to set a Object. If the particles pass this Object theyâ€™ll perform the Secondswitch
3_change again into: The Type you want to have after the paticles pass the Secondswitch Object.This Field set the Type for the 3_Emitter for Secondswitch
How To Use:
Load the script into the Event Scripts
Itâ€™s very difficult to switch the Type of some Particles because their behaviour changes mostly it end up whit impossible calculations and Real Flow may crash (well actually if you are performing a secondswitch and a switch back itâ€™s getting very complicated). So you are using this script on your own risk :D
Switching Liquid into Elastic might not also work/work the way you expect it.
The script is using the Object normals so you should check them/ or for objects like planes check where they are pointing at. Usually they should point into the particles Direction.
You can also perform are Frame based which by just adding a plane and keyframe its position. So if the plane is pointing at the object nothing happens â€¦ if you turn it away from the particles it switches its Type.
Share your scripts with other members
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest