Elegant moving crowd - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: Elegant moving crowd (/thread-3144.html) |
Elegant moving crowd - clem.baert - 06-26-2022 Hi all, I am trying to make a crowd scene. Right now I am focusing on the particle behavior. My particles birth on a plan and are moving with speed ans force noise and rotate by travel direction. I am stuck at the point where the particles should get around each other and react. With the physics particle or the flock I can have the effect somewhat. But the particles need to make collision before changing direction and the look IS more of a bouncing particles. Is there a way to say to particles "look around you in a certain distance zone and keep changing direction to not bounce on the other ones" In the flock there is a raycast parameter which looks close to that but I am not happy right now with the behavior. Thanks you ! RE: Elegant moving crowd - tyFlow - 06-27-2022 There's not really advanced avoidance like that built-in at the moment. However, the Script operator gives you the tools to be able to come up with your own version. It has neighbor tests...from there you check neighbors, reduce to neighbors in front of you and then add velocity to a particle in the direction away from the most neighbors or something. |