Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Problems with animation states (use with EASYAR)

Discussion in 'Animation' started by Fernandoweb, Jul 13, 2017.

  1. Fernandoweb

    Fernandoweb

    Joined:
    Jul 13, 2017
    Posts:
    1
    I'm using EASYAR to create an App (Android) with AR. It shows a cube and, on Click button, the planification.
    Clicking again, shows the solid cube.

    My problem is here:



    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.