I cant teleport my character with vector3 . it doesn’t changesa and
it debugs 526.14f, -0.52f, 509.88f but ingame is different
Vector3 newpos = new Vector3(526.14f, -0.52f, 509.88f);
gameObject.transform.position = new Vector3(526.14f, -0.52f, 509.88f);
if (gameObject.transform.position == newpos)
Debug.Log("ısınladnı "+ gameObject.transform.position);
else
Debug.Log("not working");
different positions
New contributor
Sefa Akgün is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1