Problems with animation states in Unity

0 votes
asked Jul 12, 2017 by edfisicaweb (120 points)
edited Jul 12, 2017 by edfisicaweb

My problem is here:

https://youtu.be/jzhISqoBGl4

I believe it is the process of activating / deactivating the object, since I changed the "gameObject.setActive (false)" method to "getComponent <MeshRenderer> (). enable = false". It worked, but there is a shadow of the object when it loses its target.

This problem happens when you lose the target and the animation is in a non-standard state. If the target is lost while the current state is default, there is no problem.

Please, help me.
 

1 Answer

0 votes
answered Jul 21, 2017 by kenn (4,160 points)
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...