Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added

Simulated 10000 agents enable dynamics and stack together

General Introduction

We can add a collision object to the layer-cached agents and make them to work as rigid body(RBD) collision objects, then these RBDs can continue interactive with other non-cached simulation agents and work as rigid collision objects. With this technique, we can simulation big number of dynamical agents like 10K-30K or more.


Instructions

For example, there are 2 placement nodes and make 1 place on top of another.

Image Added

2 place nodes and simulate

Simulate agents in one placement (lower layer in below example), make sure the upper layer of agent can be simulated, and lower layer of agents are controlled by layer cache.

Image Added

Crank up the RBD radius attribute (0 means turn off) to enable the RBD object on layer cached agents.

Image Added

Then de-place and place agents again, play the layer cache, you will notice an orange bound is around the agents of which the type enabled "Cache RBDRadiu" parameter.

Image Added


Then, the above agent can interactive with these bounds, 

Image Added