Moving a GameObject to a certain point in world space via script

Hey Guys!

Do you know how to move a GameObject to a certain position in World Space?

I’ve tried ‘Translate(Vector3, Space,World)’ and changing the transform’s position,

but in both cases my GameObject just keeps flying into the sky.

Set the transform position equal to a Vector3 in which you store the coordinates.
Something along the lines of

gameObject.transform.position = new Vector3(coordinateX, coordinateY, coordinateZ);