Search Unity

Applying values from an animationClip to bones of a skinnedMesh via code! [HELP!]

Discussion in 'Editor & General Support' started by LuizBeenoculus, Jun 27, 2018.

  1. LuizBeenoculus

    LuizBeenoculus

    Joined:
    May 17, 2018
    Posts:
    11
    Hello guys!

    I'm creating a custom editor and I need to get all the values of an animationClip in the first keyframe of the animation and apply those values to the respective bones of a skinnedMesh (it already has the rig).

    Someone know how to do that?