Flash inverse kinematics tutorial: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 25: Line 25:
</div>
</div>


The '''bones tool''' is an '''inverse kinematics''' tool.
The '''bones tool''' is an '''inverse kinematics''' (IK) tool with with you can create armatures for shapes '''or''' connected symbols instances.


{{quotation|Inverse kinematics is the process of determining the parameters of a jointed flexible object (a kinematic chain) in order to achieve a desired pose. Inverse kinematics is a type of motion planning. Inverse kinematics are also relevant to game programming and 3D animation, where a common use is making sure game characters connect physically to the world, such as feet landing firmly on top of terrain.}} ([http://en.wikipedia.org/wiki/Inverse_kinematics Wikipedia], retrieved 15:41, 27 November 2008 (UTC)).
{{quotation|Inverse kinematics is the process of determining the parameters of a jointed flexible object (a kinematic chain) in order to achieve a desired pose. Inverse kinematics is a type of motion planning. Inverse kinematics are also relevant to game programming and 3D animation, where a common use is making sure game characters connect physically to the world, such as feet landing firmly on top of terrain.}} ([http://en.wikipedia.org/wiki/Inverse_kinematics Wikipedia], retrieved 15:54, 27 November 2008 (UTC)).


{{quotation|The characters in a game have skeletons. Similar to our own skeleton, this is a hidden series of objects that connect with and move in relation to each other. Using a technique called parenting, a target object (the child) is assigned to another object (the parent). Every time the parent object moves, the child object will follow according to the attributes assigned to it. A complete hierarchy can be created with objects that have children and parents [...] Once the skeleton is created and all of the parenting controls put in place, the character is animated. Probably the most popular method of character animation relies on inverse kinematics. This technique moves the child object to where the animator wants it, causing the parent object and all other attached objects to follow.]}} ([http://electronics.howstuffworks.com/question538.htm How stuff works], retrieved 15:41, 27 November 2008 (UTC)).
{{quotation|The characters in a game have skeletons. Similar to our own skeleton, this is a hidden series of objects that connect with and move in relation to each other. Using a technique called parenting, a target object (the child) is assigned to another object (the parent). Every time the parent object moves, the child object will follow according to the attributes assigned to it. A complete hierarchy can be created with objects that have children and parents [...] Once the skeleton is created and all of the parenting controls put in place, the character is animated. Probably the most popular method of character animation relies on inverse kinematics. This technique moves the child object to where the animator wants it, causing the parent object and all other attached objects to follow.]}} ([http://electronics.howstuffworks.com/question538.htm How stuff works], retrieved 15:54, 27 November 2008 (UTC)).
 
{{quotation|Inverse kinematics (IK) is a method for animating an object or set of objects in relation to each other using an articulated structure of bones. Bones allow symbol instances and shape objects to move in complex and naturalistic ways with a minimum of design effort. For example, inverse kinematics lets you create character animation, such as arms, legs, and facial expressions much more easily. <br/>You can add bones to separate '''symbol instances''' or to the '''interior of a single shape'''. When one bone moves, the other connected bones move in relation to the bone that initiated the movement. When animating using inverse kinematics you need only specify the start and end positions of objects. Inverse kinematics lets you create natural motion much more easily.}} ([http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WS58BD3A02-DA25-488f-B534-AE5463A24833.html
Using inverse kinematics], retrieved 15:54, 27 November 2008 (UTC)).
 
Let's illustrate both shape armatures and symbol instances armatures with a picture taken from [http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WS58BD3A02-DA25-488f-B534-AE5463A24833.html Adobes help pages]:
 
[[image:an_ik_shape.png|frame|none|A shape with an IK armature added. Copyright: [http://help.adobe.com/en_US/Flash/10.0_UsingFlash Adobe] License: [http://creativecommons.org/licenses/by-nc-sa/3.0/ Creative Commons by-nc-sa] ]]
 
[[image:an_ik_symbols.png|frame|none|A group of several symbols with IK bones attached. Copyright: [http://help.adobe.com/en_US/Flash/10.0_UsingFlash Adobe] License: [http://creativecommons.org/licenses/by-nc-sa/3.0/ Creative Commons by-nc-sa] ]]


== Adding armatures to shapes ==
== Adding armatures to shapes ==
Line 47: Line 56:
* Use the subselection tool to move  
* Use the subselection tool to move  


=== Armatures with symbol instances ===
== Armatures with symbol instances ==


==== Adjust properties ===
=== Adjust properties ===


Select a bone and play with the options in the properties panel
Select a bone and play with the options in the properties panel
Line 58: Line 67:
== Links ==
== Links ==


; Inverse kinematics
; Introductions to inverse kinematics


* [http://en.wikipedia.org/wiki/Inverse_kinematics Inverse kinematics] (Wikipedia)
* [http://en.wikipedia.org/wiki/Inverse_kinematics Inverse kinematics] (Wikipedia)
Line 64: Line 73:
* [http://freespace.virgin.net/hugo.elias/models/m_ik2.htm Inverse Kinematics - Improved Methods] by Hugo Elias, 2004. Very technical.
* [http://freespace.virgin.net/hugo.elias/models/m_ik2.htm Inverse Kinematics - Improved Methods] by Hugo Elias, 2004. Very technical.
* [http://electronics.howstuffworks.com/question538.htm How do the characters in video games move so fluidly?] (Howstuffworks.com).  
* [http://electronics.howstuffworks.com/question538.htm How do the characters in video games move so fluidly?] (Howstuffworks.com).  
; Adobe documentation
* [http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WS58BD3A02-DA25-488f-B534-AE5463A24833.html
Using inverse kinematics] (Using Flash CS4 Professional)


; Introductions
; Introductions

Revision as of 17:54, 27 November 2008

Draft

This article or section is currently under construction

In principle, someone is working on it and there should be a better version in a not so distant future.
If you want to modify this page, please discuss it with the person working on it (see the "history")

<pageby nominor="false" comments="false"/>

This is part of the Flash tutorials

Introduction

Learning goals
  • Insert bones in shapes
  • Connect symbols with bones
  • Create a motion animation with bones
  • Attach envelope points to bones
Flash level
  • Flash CS4
Prerequisites
Moving on
Level and target population
  • Beginners
Quality
  • low (just started)

The bones tool is an inverse kinematics (IK) tool with with you can create armatures for shapes or connected symbols instances.

“Inverse kinematics is the process of determining the parameters of a jointed flexible object (a kinematic chain) in order to achieve a desired pose. Inverse kinematics is a type of motion planning. Inverse kinematics are also relevant to game programming and 3D animation, where a common use is making sure game characters connect physically to the world, such as feet landing firmly on top of terrain.” (Wikipedia, retrieved 15:54, 27 November 2008 (UTC)).

“The characters in a game have skeletons. Similar to our own skeleton, this is a hidden series of objects that connect with and move in relation to each other. Using a technique called parenting, a target object (the child) is assigned to another object (the parent). Every time the parent object moves, the child object will follow according to the attributes assigned to it. A complete hierarchy can be created with objects that have children and parents [...] Once the skeleton is created and all of the parenting controls put in place, the character is animated. Probably the most popular method of character animation relies on inverse kinematics. This technique moves the child object to where the animator wants it, causing the parent object and all other attached objects to follow.]” (How stuff works, retrieved 15:54, 27 November 2008 (UTC)).

“Inverse kinematics (IK) is a method for animating an object or set of objects in relation to each other using an articulated structure of bones. Bones allow symbol instances and shape objects to move in complex and naturalistic ways with a minimum of design effort. For example, inverse kinematics lets you create character animation, such as arms, legs, and facial expressions much more easily.
You can add bones to separate symbol instances or to the interior of a single shape. When one bone moves, the other connected bones move in relation to the bone that initiated the movement. When animating using inverse kinematics you need only specify the start and end positions of objects. Inverse kinematics lets you create natural motion much more easily.”
([http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WS58BD3A02-DA25-488f-B534-AE5463A24833.html Using inverse kinematics], retrieved 15:54, 27 November 2008 (UTC)).

Let's illustrate both shape armatures and symbol instances armatures with a picture taken from Adobes help pages:

A shape with an IK armature added. Copyright: Adobe License: Creative Commons by-nc-sa
A group of several symbols with IK bones attached. Copyright: Adobe License: Creative Commons by-nc-sa

Adding armatures to shapes

  • Create a new layer
  • Draw a shape or a simple drawing in object mode. Make sure to finish the drawing, later you only can adjust its shape.
Add a bone
  • Select the bone tool from the tool panel
  • Click inside the shape and drag a bone
  • Click at the end point of a bone an drag again
  • etc.
Kill bones
Adjust
  • Use the subselection tool to move

Armatures with symbol instances

Adjust properties

Select a bone and play with the options in the properties panel

Joint Constraints

Joint constraints are rotational constraints on the joints of an artificial bone system

Links

Introductions to inverse kinematics
Adobe documentation

Using inverse kinematics] (Using Flash CS4 Professional)

Introductions
Examples