Reply To: Animation don't work

Forums 💬 Slate Sequencer ⚙️ Support Animation don't work Reply To: Animation don't work

#21102
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