Answer the question
In order to leave comments, you need to log in
How to move the object and figure out the coordinates?
Good afternoon friends! Usually I changed the position of the object as follows:
Now this number does not appear, as I understand it, because of the coordinate system.
Initially, the coordinates are written in the inspector: -8.8, 84, 0 (x, y, z).
After certain events, these coordinates change. I'm trying to move them back like this:
But as a result, it turns out that they fall out at -1552, 13534.2, -3456.
I went to the documentation, I saw TransformPointobject.transform.position = new Vector3(5,5,0)
object.transform.position = new Vector3(-9,84,0)
object.transform.position = transform.TransformPoint(-9,84,0);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question