Hi guys
My goal is a fish swarm with several behaviors.
First I did a setup with just a POP solver, using
the POP Flock (swarming) and POP Steer Seek (build formation).
This all worked as expected.
Then I thought a crowd setup would be really nice, since I get kind
of a behavior tree to blend the states more easy and I also get
animation clips for the simulation.
Even though I used the same settings for the POP nodes, the behavior
within crowd was pretty different.
I then realized, that there is an avoidance tab on the crowd solver,
which introduced additional force to the sim. So I turned that off.
As I introduced the second state (formation) with a single POP steer Seek
node in it, again, the behavior was pretty off.
Instead of seeking their goal, slowing down and stopping (like in my POP solver setup),
The agents seek their target, but don't slow down properly. They overshoot, come back, overshoot again,
and so on. As if the agents would maintain the same momentum that never decreases.
? Why is that ? I couldn't find any more forces that might influence the agents..
I attached a simple scene with both setups (crowd and pop only).
Would be great if someone could help me out here.
Thanks
Crowd, POP & Steer Seek
3774 3 2- Marc Lauper
- Member
- 13 posts
- Joined: March 2015
- Offline
- cwhite
- Staff
- 733 posts
- Joined: Oct. 2012
- Online
You'll want to either turn off the Limit Particle Speed to Gait Speed Range on the Crowd State DOP, or increase the Allowed Variance parameter accordingly. This is what was preventing the agents from slowing down to a stop.
Then, on the crowd solver you can either decrease the minimum speed at which orientation changes are allowed to occur, and / or turn off the option to constrain the velocity by the max turn rate.
Then, on the crowd solver you can either decrease the minimum speed at which orientation changes are allowed to occur, and / or turn off the option to constrain the velocity by the max turn rate.
- Marc Lauper
- Member
- 13 posts
- Joined: March 2015
- Offline
- Pavini
- Member
- 27 posts
- Joined: May 2014
- Offline
cwhiteWhat do I do when using locomotion?
You'll want to either turn off the Limit Particle Speed to Gait Speed Range on the Crowd State DOP, or increase the Allowed Variance parameter accordingly. This is what was preventing the agents from slowing down to a stop.
Then, on the crowd solver you can either decrease the minimum speed at which orientation changes are allowed to occur, and / or turn off the option to constrain the velocity by the max turn rate.
-
- Quick Links