I creating system for schooling fishes. I choose simple setup with wires and deformable geo. But i have some prolems. I split system onto two peaces. For detailed animation I deform fishes with wires, so they bend like curves with creap, but I cant find way how inside loop add velocity atribute to rippleSOP which simulate speed of fish swiming. I look at the couple of foreachSOP tutorials but cant find right way.
Second system is easier. There I only copy fishes on the end of each wire and thats all. But i found problem. dont know why, but if I take my vel, convert it to speed and use this for driving rippleSOP wave speed, when is attribute near zero, fish start swim fast. grrr, I custom visualize my parameter, all is ok. Dont know why ripple see high value. I cant find the mistake.
there is simple system. It is vissible when particles stopping, ripples go faster.
https://vimeo.com/44051381
hip file.
flock_odforce.hip 382.35K
95 downloads












