This was the script I used to get secondary motion on the attributes of the Panda Rig. It is quite long, but the resulting real time secondary action in the viewport is fun to look at and gives the animator a good sense of what the animation will look like. 32 total lines of code for the angler on the top of the Panda's head alone.
if (Angler_Attribute_Control.AutoOverlap == 1){
hairSystemShape2.currentTime += 1;
float $refresh_rx = Angler_1_Control.rotateX;
float $refresh_ry = Angler_1_Control.rotateY;
float $refresh_rz = Angler_1_Control.rotateZ;
float $refresh_rx = Head_Control.rotateX;
float $refresh_ry = Head_Control.rotateY;
float $refresh_rz = Head_Control.rotateZ;
float $refresh_rx = Neck_Control.rotateX;
float $refresh_ry = Neck_Control.rotateY;
float $refresh_rz = Neck_Control.rotateZ;
float $refresh_rx = Upper_Torso_Control.rotateX;
float $refresh_ry = Upper_Torso_Control.rotateY;
float $refresh_rz = Upper_Torso_Control.rotateZ;
float $refresh_rx = Spine_Rotation_Control.rotateX;
float $refresh_ry = Spine_Rotation_Control.rotateY;
float $refresh_rz = Spine_Rotation_Control.rotateZ;
float $refresh_tx = COM.translateX;
float $refresh_rx = COM.rotateX;
float $refresh_ty = COM.translateY;
float $refresh_ry = COM.rotateY;
float $refresh_tz = COM.translateZ;
float $refresh_rz = COM.rotateZ;
float $refresh_tx = Master_Movement_Control.translateX;
float $refresh_rx = Master_Rotation_Control.rotateX;
float $refresh_ty = Master_Movement_Control.translateY;
float $refresh_ry = Master_Rotation_Control.rotateY;
float $refresh_tz = Master_Movement_Control.translateZ;
float $refresh_rz = Master_Rotation_Control.rotateZ;
}else if (Angler_Attribute_Control.AutoOverlap == 0){
hairSystemShape2.currentTime = time;
}
Thursday, February 14, 2013
Panda Rig
Finished this a while ago, but I wanted to give a screenshot of all the controls that went into this very intricate rig. I will probably post a short video about the attributes in the near future, but for now, gaze at the controls. This rig utilized a lot of scripting in order to achieve real time secondary motion similar to the video I posted here. I will post the script soon to show how long it was.
Panda character by Amanda Wallenhorst (http://amandawallenhorst.wordpress.com/)
Global Game Jam: Cell
A few weeks ago, I participated in an event called Global Game Jam. It is a competition where you join a team and create a game from scratch in 48 hours. After a severe lack of sleep on the part of myself and my team, we have completed the game with some fantastic results. So without further ado, I present to you all...Cell. Information about the team and the download link for the game can be found here.
Subscribe to:
Posts (Atom)