Tornado! attracting geometry towards particles


#1

how do i make particles attract and pull scene nodes towards them for example a tornado or a vortex etc

here’s one i found on youtube, its the mountain dew tornado add.

Note: i am not concerned about the tornado just how do i get the geometry attracted towards it. would be great if collision detection between the geometry is maintained

any help is appreciated thanks ! cheers !


#2

You can do it with pflow and collision events. I don’t have the script handy but you can use a script to birth particle geo at the location and rotation ect of the debris you want to pick up. then you would use a deflector to touch the particles to send it into another event which then you would use forces, Find targets ect to get the debris to move into the funnel. Pretty simple setup.


#3

feldy thanks for the post. A couple of observations : if i instance geometry as particles they will not collide with each other, secondly if i use a deflector it will only detect particles which touch the particles in the tornado cloud but i want particles a couple of 100 meters away pulled towards the tornado also you mentioned using the find target operator, that would be great for certain geometry objects as they can be pulled inside the tornado cloud and then disappear (heavy geometry objects maybe) but the lighter ones will spin around the tornado shape how do i maintain the speed vector to follow that kind of an orbit maybe i could use the spherical wind operator but its not easy to maintain the tornados outline with those operators maybe i could use a script vector inside the find target but then again how do i calculate what values to assign to the particle vector channel i could go for random particles which make up the tornado cloud but that will not give the real feel for example if you observe the lighter objects spin and float around the tornado whereas heavy ones may pass through it. for example in the mountain dew tornado add which i posted earlier the sign board gets ripped of the ground and is pulled towards the tornado which is quite far away from the board…
similarly if you unplug a filled sink you get the vortex effect (like a cyclone) with objects flowing down the vortex how do i get geometry to move along the body of the vortex?

Pretty simple setup.

could you please be bit more elaborate

once again thanks for your post cheers! :slight_smile:


#4

Yes that’s true stock pflow does not support per particle collision. However Box2 does!!! I have not had any experience with box2 so I cant really tell you how that setup would work. Also Thinking particles might be an option for you if you have the plugin. that way you can setup rule based particles rather then event based actions. As far as scripting goes I’m not a big scripter if at all. I only use a few scripts that I have been useing for some time.


#5

i did a tornado ages ago with the particle flow toolbox#2 alpha:

http://vimeo.com/7851012

i can dig out the file and post a screen shot of the flow…not sure if it would work with the current version tho. might need some tweaks. with the current version you could even shatter out the windows correctly when hit by debris…

Anselm


#6

thanks for the post Anslem.
wow amazing effect! looking forward for the snapshot and the files! cheers :slight_smile:


#7

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.