Jump to content
Sign in to follow this  
dyei nightmare

flock systems collisions and rotations

Recommended Posts

 

 

How can you do this kind of flocking?    i mean,  i know  how to do the cohesion-separation-aligment  thats not an issue ...  but what i dont know is how to  program collisions, so the flock system turns back very smoothly in the edges,  and the process to avoid obstacles in that very smooth way,  how can you do it?  

 

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

On GitHub you can find those files ...strange!:huh: now I can't find Hm

01222.gif

Share this post


Link to post
Share on other sites

 

 

that example seems like it is based on pop magnets,   the thing here is that, the example i provide, seems like  each agent is really aplying a turn around function,  is very "delicate" in the movement

Share this post


Link to post
Share on other sites
Posted (edited)

No @dyei nightmare trust me.. those solver its inside (you can't see because its points )
popsteerwander1
popsteeralign1
popsteeravoid1
popsteerobstacle1
popsteerseek1
or just watch Asian Dude jhorikawa

fish.gif

Edited by Librarian

Share this post


Link to post
Share on other sites
On 22/7/2020 at 7:45 PM, Librarian said:

No @dyei nightmare trust me.. those solver its inside (you can't see because its points )
popsteerwander1
popsteeralign1
popsteeravoid1
popsteerobstacle1
popsteerseek1
or just watch Asian Dude jhorikawa

fish.gif

 

 

 

thanks,  i did many test with those nodess, and i thought those were a black boxes,  pop obstacle did nothing for me, but i found another way,  is basically the same logic of those nodes,    

i cant get yet the result of my first example but i have now a clear idea on how to achieve it,

 

thanks a lot!!!!!!!!!!!!!!

Share this post


Link to post
Share on other sites
Posted (edited)

nah, i cant get the armonic pattern  in movement he is getting,  my tests are more chaotic,   one thing i notice is that some people is using: 

vector cohesion += targetPosition;   

and it depends on the method;

the built in tools "steer nodes" cant do the very delicate and cordinated movement of a fish crowd :(  

Edited by dyei nightmare

Share this post


Link to post
Share on other sites

Check out this link, perhaps?

 

Share this post


Link to post
Share on other sites

at this point i have this 

 but it is not armonic and  smooth as the other guy,   i have chaos at the moment 

 

 

 

 

 

and i want this .............

 

 

 

 

avm_crowd_1.mp4

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×