I am trying to make a simple Particle Flow script decreasing speed of particles. Why this did not work, the variable "vel" is changing? And other important question how to make particles to go on random direction not in single line.
on ChannelsUsed pCont do
(
pCont.useTime = true
pCont.useSpeed = true
)
on Init pCont do
(
)
on Proceed pCont do
(
count = pCont.NumParticles()
speed = .05
t = pCont.particleAge
for i in 1 to count do
(
pCont.particleIndex = i
vel = (speed/t)
print vel
pCont.particleSpeed = [vel,0,0]
)
)