Categories
Unity2D How to implement the movement of the square towards the specified edge?
There is an ordinary 2D square, implemented a rotation, but the motion vector does not depend on the rotation of the object. How to implement it?
Answer the question
In order to leave comments, you need to log in
I could be wrong, but try using local coordinates for translation or transform.Translate
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question