Question by
guiviana334 · Mar 21, 2020 at 11:58 PM ·
animatorparentanimator controlleranimationsparent-child
Animator sets Default State everytime i switch an object's parent
I'm working on a 2D game in wich my character carries a baby and can release it anywhere, for that i am frequently setting the baby's parent as null or as the player, that works perfectly as expected, but the animations the baby should play can be canceled by picking up and releasing him, that happens because it calls the Default Animation State (in my case, an idle animation) instead of following the line
can anyone help me? how do i solve that?
Comment