Search Unity

Animating Character/Skeleton at Run Time

Discussion in 'Editor & General Support' started by ejhong, Jun 26, 2009.

  1. ejhong

    ejhong

    Joined:
    Jul 16, 2008
    Posts:
    16
    Unity seems to support playing pre-canned animations to animate a character.

    However, there are times where I would like to take control and compute and specify the exact joint positions/angles of every joint of the character. These positions would be computed dynamically by me during game run time.

    Is it simple to get this level of control of the game character in Unity via the scripting interface?

    Thanks for any help in advance (still very new to the whole game pipeline).
     
  2. andor_p

    andor_p

    Joined:
    Jun 20, 2009
    Posts:
    29
    The joints of a rigged character are accessible as simple Transforms, so you can modify them however you want in scripts. So yes, it is fairly simple.