General Introduction
Imagine that Drive Shell feature allows us edit the agents after making agent cache. Usually we use it to fix some agents translate or rotate, and hide some error agents.
Suppose we've already got the good simulation and made the agent cache , but especially we had did the dynamic simulation. But for some reasons , we have to make a small fix on some very limited and specific agents. At this time, While we really don't want to re-make the simulation cache at all and want to do directly edit on the cached agents. because that these fixes (like move some agent left/right or remove some agents) are too small to re-make the entire cache, especially we had did the dynamic simulation, it would be again because it's time-consuming and risk to redo the simulation againmay take some risk. At this time the Drive Shell feature can help.
Instructions
Make agent cache for the scene and enable the cache.
We can only use this feature after Caching Agents
Select the agent(s) you want to edit and click "ctrl + g", then you can notice that we created a group (transform) (or we can call it a shell) node for these agents, then .
Then you can edit this group, like translate, rotate or hide as your wish. Since the agents are in child space of the group, they will move along with it.
select some agents
Maya group control the agents transform
Notie: once you de-place your agents and re-place again, or re-open this file, this group relationship will be forgotten and you cannot save your edit it any more.
Click Miarmy Cache Tools > "Record Drive Shell" button, we can make our maya scene remember the relationship between your agents and the group node. The relationship will be stored at McdGlobal node, and you can check it by some simplest script code.
Warning | ||
---|---|---|
| ||
If you don't apply this step, all of your edits will be removed if you de-place your agents or close your maya file. |
record the relationship between agents and group
script tip for checking the info
Edit the agents by Group
After re-place, agents will be automatically put into recorded group
For removing the records, we can simple click "Clear Drive Shell" button in Miarmy Cache Tool
...