Slate Forums › Support › Animate Material Bug? › Reply To: Animate Material Bug?
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); }
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
Username
Password
Remember Me
By registering on this website you agree to our Privacy Policy.
Email
Confirm Password
Username or Email