Inverse Kinematics in Adobe Flash

In Physics, kinematics is the branch responsible for studying the motion of bodies. Inverse Kinematics (IK) is a technique widely used in engineering, robotics and animation. It consists of the movement of an object or a set of objects in relation to other objects, using an articulated structure of bones. The bones allow the handling of complex and natural way possible to create character animation, such as arms, legs and facial expressions much more easily, the simplest image illustrates this is the movement of a lever. Anyone who has worked with 3D modeling software such as 3D Studio MAX already familiar with this technique. From Adobe Flash CS4, we have the opportunity to work with inverse kinematics in Flash IDE itself and a library in ActionScript 3.0.

Inverse kinematics (IK) is a method of animation that consists of movement of an object or a set of objects in relation to other objects, using an articulated structure of bones. The bones allow the handling of complex and natural way possible to create character animation, such as arms, legs and facial expressions much more easily, the simplest image illustrates this is the movement of a lever.

Now let’s see an example using Adobe Flash Professional CS5 will be pretty simple to understand the workings of this tool.

  • Create a new file type ActionScript 3.0
  • Create three graphic symbols in a rectangular shape so that the effect is better visualized. Let them side by side forming a row.
  • Select Bone tool
  • Click the first symbol of pure and drag until the end of it. Will be formed with a bone on its own biggest one being the base.
  • Do the same with the second symbol in order to start dragging from its own smaller bone of the first symbol.
  • Your stage should look like this:

    IK Adobe Flash

    IK Adobe Flash

  • Note that a new layer was created with the name of armature. Select frame 20 for example, right-click on the frame and select “Insert pose”. This done, move in any way the symbols on the stage. Do the same for frame 40 and 60.
  • Now test the movie “Ctrl+Enter”.

[SWF]http://www.leonardofranca.com.br/wp-content/uploads/2010/08/ik_sample.swf, 450, 400[/SWF]

DOWNLOAD SOURCE

More:
http://help.adobe.com/en_US/flash/cs/using/WS2756549E-1394-424a-B00E-357A1EAED5D8.html

Recommended Books:

Buy Softwares:

Was this article helpful? feel free to make a donation and help keep the blog in the air
ActionScript 3.0, Adobe, Flash , ,

1 comment


Leave a Reply