User Defined Target "Vuforia core samples" - changing character's animation issues
Hello,
I'm using Unity 2017.3.1f1 with the "Vuforia core samples" to create an AR game for a college project, using the User Defined Target sample. I added my character to the UserDefinedTarget, created an Animator controller for the character with two animations, one as default and a transition to the second animation with a condition and a trigger. I created an UI button with an On Click action that activates the trigger for the condition. I checked that the button does activate the trigger and, in the animator controller, i can see that the transition does work. However, the character never does the second animation.
I tested my character in a different scene without using the UserDefinedTarget sample. Everything works perfectly and the two animations work. It seems that the problem isn't my character. Also, if i don't put my character as part of the UserDefinedTarget, but another object in the scene, the transition does work and both animation can be seen. So, i'm guessing it doesn't work when it's an UDT model.
I apologise if my explanation is lacking details. I'm fairly new to Unity and AR.
Thank you for your attention.
Your answer
![](https://koobas.hobune.stream/wayback/20220612160537im_/https://answers.unity.com/themes/thub/images/avi.jpg)