Categories
Why is the platform not moving up?
private void Update() { rb2d.MovePosition(Vector2.up * speed * Time.deltaTime); }
Answer the question
In order to leave comments, you need to log in
Because MovePosition takes a new position as an argument. Here you have it and moved to Vector2.up * speed * Time.deltaTime and rubs there
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question