Hello Everyone,
Is there anyway I can get world position coordinates for vertices. I can’t just add them to the objects position because I have to account for rotation too.
Thanks,
Austin
Hello Everyone,
Is there anyway I can get world position coordinates for vertices. I can’t just add them to the objects position because I have to account for rotation too.
Thanks,
Austin
Transform.TransformPoint.
–Eric
transform.TransformPoint(Vector3.Scale(vertex, transform.localScale)); (if your object is scaled)
TransformPoint already takes scale into account.
–Eric