I'd like to get world space coordinates for a specific mesh vertex. Transform.TransformPoint() seems to be what I need however I'm unable to get the correct position.
In the scene I have an object called "head" at Pos (0, 0, 0) Scale (0.03, 0.03, 0.03) and I'm trying to get the position of vertex id 590 in order to spawn another object at that specific location.
Mesh mesh = GameObject.Find ("head").GetComponent<MeshFilter>().mesh; Vector3[] vertices = mesh.vertices; Vector3 newPos = transform.TransformPoint (vertices [590]); Debug.Log (newPos); The value of newPos is not on the head object.