Copying motion clips between agents

   223   1   2
User Avatar
Member
90 posts
Joined: April 2014
Offline
Hi, I was wondering what the best method was to copy motion clips between agents. Vex or python is preferred.
User Avatar
Staff
802 posts
Joined: Oct. 2012
Offline
You can likely do this purely in SOPs using Agent Animation Unpack (output either a single motionclip, or a set of packed motionclips), and then use the Agent Clip SOP to import these into the other agent definition

In Python, there is a hou.AgentClip constructor that lets you make a copy of the clip for the other agent definition's hou.AgentRig

These both would require having matching skeletons / joint names for the joints that you want to copy animation between
  • Quick Links