Hello guys,
i’m making this simple flocking system but i can’t make particles avoid obstacles, all i used is some Radials to attract and repulse particles.
do you have any idea on how to improve it? :banghead:
thanks,
G
Hello guys,
i’m making this simple flocking system but i can’t make particles avoid obstacles, all i used is some Radials to attract and repulse particles.
do you have any idea on how to improve it? :banghead:
thanks,
G
With nParticles you can easily create distance based repulsion on colliding meshes( the force field generation attributes on the nRigid node).
Alternately you could use a fluid node… collide it with your meshes, apply the desired forces then use the fluid as a field on the particles, with conserve set near zero on the particle shape.
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.