Animate Material Bug?

Forums 💬 Slate Sequencer ⚙️ Support Animate Material Bug?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #21107
    sky2005zx
    Participant

      Hi Guys

      I using version 1.6.5 at Unity 5.5.0p4.

      When I try to use “Animate Material Color” effect on a model’s arms when the model is playing an Animator animation, and the model’s arms will change Color as setting but not play the animation, instead it show on a ward position even when the CutScene is end, the model’s arms won’t come back.

      Only way to restore the model is remove the “Animate Material Color” track and revert prefabs form disk.

      Any help? Thanks.

      #21115
      Gavalakis
      Keymaster

        Hello,

        That is a bug indeed. Thanks for reporting this.
        I have attached for you here a fix update which resolves this issue. Please import the attached unitypackage and let me know if everything works as expected.
        Thank you!

        #21114
        sky2005zx
        Participant

          Thanks!! Now it work perfectly!!

          #21113
          Gavalakis
          Keymaster

            Thanks for letting me know! 🙂

            #21112
            jedinizar
            Participant

              unfortunately it did not work.
              the animation is still not showing, although it worked once, then same as before the animation did only work for the first path and not for the second

              another thing how do I manage to make a cube follow a path, actually I want to open a slide door at some point in the cutscene I thought I make the door object follow a short path, but nothing happen

              #21111
              jedinizar
              Participant

                just a small addition I tried with a script to slide the door as well

                public Transform target;
                public float speed;

                void Start()
                {
                float step = speed * Time.deltaTime;
                transform.position = Vector3.MoveTowards(transform.position, target.position, step);
                }

                and attached the script to the door then I set the “set Behaviours active state” but still the script change to enable but nothing happen

                #21110
                Gavalakis
                Keymaster

                  Hey,

                  Hmm. Can you please send me a small project showcasing this issue you are facing with animation not playing? It would greatly help if so.

                  Regarding your other questions, your script will not work in editor mode, but rather only in playmode since it is using the Unity API (Start) to execute. What you can instead do to move the door, would be to simply use one of the included clips named, “Translate To” or “Translate By”, since this is exactly what those action clips are there for 🙂
                  Alternatively, if you want completely control, you can use the “Animate Properties” action clip, and manually keyframe the .position property of the door in time.

                  Let me know if these work for you.
                  Thanks.

                  #21109
                  jedinizar
                  Participant

                    Hi,
                    Sorry for my late reply I’ve sent you my project via download link through the contact page

                    If you could see check please were the problem is… thanks a lot

                    Please let me know if you got the link and if you could download it, sent it via google drive.

                    #21108
                    Gavalakis
                    Keymaster

                      Hey,
                      I got the email and downloading it now.
                      Will reply to you as soon as I check it.
                      Thanks!

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • You must be logged in to reply to this topic.