
Two script operators for pFlow.
Electric trails (script operator):
Particles move along the edges of a mesh, when they reach a vertex they choose a random edge to go along.
Second version added, which will choose only directions within an angle of a given vector.
A pFlow preset can be downloaded to get a fully working simple setup.
Since the script operator sets the speed of the particles, and detects when a particle is at a vertex, a small script is attached to get the best settings for a mesh.
If you want to change the settings, open up the script operator, and the two settings are at:
line 78 ( testResult = onPoint pCont.particlePosition database 0.5 ) (detection radius)
line 105 ( pCont.particleSpeed = newVector*0.01 ) (speed)
Spawn on edges (birth operator):
Particles spawn on the edges of a mesh, spaced equally based on a distance.
If you want to change the distance, open up the script operator and the distance is at line 15:
pSpacing = 3.0
By brttd · 2014-09-11
Michele71 · 2014-09-13
barigazy · 2014-09-11