Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Skinned Mesh Renderer: Help with Bones?

Discussion in 'General Graphics' started by hothead-brusnell, Dec 12, 2014.

  1. hothead-brusnell

    hothead-brusnell

    Joined:
    Apr 15, 2014
    Posts:
    18
    Hi,

    I am trying to animate a skinned mesh. What I see is my mesh in the T Pose (this is incorrect), with a slight animation - my guess is that the root joint is being animated, but nothing else.

    When I place a Sphere Collider on each bone, I can see the bones animating as I expect them to. However, my mesh continues to stay in the T Pose (with some minor animation about the y-axis, as previously mentioned).

    I went through the bind pose example (http://docs.unity3d.com/ScriptReference/Mesh-bindposes.html), and I am providing everything they have:

    1) A mesh
    2) Bones
    3) Bind Poses
    4) Bone Weights

    And, I can verify that my skinned mesh renderer's Root Bone points to the correct Transform.

    However, all I see are the bones animating as expected (visualized using Sphere Colliders), and the mesh staying in the T Pose (with minor animation about the y-axis).

    Any ideas?

    Thanks.
    --
    Brennan
     
  2. OllyNicholson

    OllyNicholson

    Unity Technologies

    Joined:
    Jun 17, 2011
    Posts:
    142
    It is a little unclear which workflow you are following, if you are animating a character or generic rigged mesh with Mecanim you need to follow the steps outlined to apply animations to the avatar if (re-targeting) or to your skeleton with your imported animations.

    http://docs.unity3d.com/Manual/MecanimAnimationSystem.html
    http://unity3d.com/learn/tutorials/modules/beginner/animation

    Saying that if you are referring to the scripting API I guess you might be doing this via code, so you might want to provide a bit more information possibly on how you are animating, and possibly use the animation forum so that you can get more input from animation scripters to help your workflow function with Unity's animation system.
     
  3. hothead-brusnell

    hothead-brusnell

    Joined:
    Apr 15, 2014
    Posts:
    18
    Thanks, I'll head to the animation forum and go from there.
     
    OllyNicholson likes this.