Hi there
I made a simple crowd with fish agents.
Just one state, which is swim.
My first problem is that the agents (fish) can change their heading only in
the xz plane. Since the swarm is not constrained to a ground plane,
how can I allow the fishes heading (controlled by velocity) to change in all planes?
The second question:
- I set up a crowd using “Populate” and “Simulate” from the shelf.
- Then set “Initial Velocity”, “Heading”, “Up” to 0 in the “Crowdsource” node.
> As soon as I add a POP node (ie pop force) in the simulation, I also get an
initial force on the Z axis. Why is that and where does it come from?
Any help appreciated
Question about crowds and orientation/heading
3484 2 2- Marc Lauper
- Member
- 13 posts
- Joined: 3月 2015
- Offline
- cwhite
- スタッフ
- 733 posts
- Joined: 10月 2012
- Offline
Marc Lauper
My first problem is that the agents (fish) can change their heading only in
the xz plane. Since the swarm is not constrained to a ground plane,
how can I allow the fishes heading (controlled by velocity) to change in all planes?
I think you want to allow the solver to modify the agent's up vector - this is controlled by the Adjust Up Vector parameter on the crowd solver.
Marc LauperI think it would probably be useful to see an example file for that issue
The second question:
- I set up a crowd using “Populate” and “Simulate” from the shelf.
- Then set “Initial Velocity”, “Heading”, “Up” to 0 in the “Crowdsource” node.
> As soon as I add a POP node (ie pop force) in the simulation, I also get an
initial force on the Z axis. Why is that and where does it come from?
- Marc Lauper
- Member
- 13 posts
- Joined: 3月 2015
- Offline
-
- Quick Links