Iv got a particle system where the particles move along a surface uisng the goal U, V and they are also avoiding inter particle collisions.
What Im trying to do now is being able to make them avoid obstacles on the surface. My aproach is that I want to paint the obstacles on the surface. I should be able to use .position(U,V) and set direction(speed, magnitude) vectors with a ramp - C=X1, M=X-1, Y=Y1, K=Y-1, where your surface is "painted " with the obstacles.
What I cant figure out is how to sample the CMYK data to manipulate the direction vectors. Cant get my head around it properly.
Any help on this would be great!
thanks
Kristian