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

Question Custom Constraint Animation Rigging Package

Discussion in 'Animation Rigging' started by marcovida, Jan 14, 2021.

  1. marcovida

    marcovida

    Joined:
    May 8, 2019
    Posts:
    4
    Hello ,

    I was wondering what the best way is to get my own custom constraint into the Animation Rigging package.

    Is there a way to add it to the existing package or do I need to write my custom constraint as a separate Animation C# job?

    I'm not to skilled at making up new packages so apologies if the question is a bit noob.

    Thanks
     
  2. simonbz

    simonbz

    Unity Technologies

    Joined:
    Sep 28, 2015
    Posts:
    295
    You can definitely implement new constraints, but you won't be adding them to the Animation Rigging package. You most likely want to create asset packages instead with your new constraints.

    We have examples of custom constraints you can have a look at. Refer to the resources we've compiled for animation rigging:

    https://forum.unity.com/threads/compilation-of-resources-for-animation-rigging.852973/

    More specifically, have a look at this talk:


    And at this project where we are providing several custom constraints to illustrate how it's done:
    https://github.com/Unity-Technologies/animation-rigging-workshop-siggraph2019