Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

How to use Humanoid Model : Animator(property) in scripts using Unity Scriptable API

Discussion in 'Animation' started by Asfand_Sajjad, Jul 18, 2019.

  1. Asfand_Sajjad


    Jun 27, 2019
    I'm newbie at unity animations and stuff and I want to create a game scene in which at run time I would be able to move a humanoid 3D model and save the movement as an animation (.anim) file. I may move the parts of the model by mouse or by mapping scrolling bars to animation property values, somehow.

    To do all this I decided to go for the animators (properties) of a model. Kindly look at the picture attached to know exactly what I am talking about.

    I searched the unity Scriptable API for this but wasn't able to find the documentation on how to use the above mentioned property directly in your scripts so that animation curves can be generated from them.

    Is it possible to do this? Is there a better way to record animations of humanoid models at runtime (in-game mode) or a better property for humanoid models to use?

    Note: The whole animation process is to be handled through code.

    Attached Files: