Question by
Mosquitar · May 06 at 12:14 PM ·
animationchild objectreferencing
How to access the weight of Constraints of a Rig (Animation Rigging Package)
I am trying to control the weight of each constraint that a Rig has and I can't figure it out through code, I tried using GetChild(Index of the constraint here) but its not working. I also tried doing the usual serialized private Gameobject and just dragging and dropping the constraint there, that works but how to do it through code? without dragging and dropping in the inspector.
accessing-weight-of-constraint.png
(111.7 kB)
Comment
Your answer
Follow this Question
Related Questions
Playing Child object animation 1 Answer
Child object in animation transform Problems 1 Answer
Gameobject transform not moving when doing animation 0 Answers
How do i reference the animator component of an active child gameobject from the parent? 0 Answers
Animation from child object overrided by its parent and won't show in game window 0 Answers