So erhalten Sie die globale Position eines GameObject in einer Variablen
// for unity users only!
// use transform instead of GetComponent<Transform>
void Start()
{
Vector3 LocalPosition = gameObject.GetComponent<Transform>().position;
Vector3 GloabalPosition = gameObject.transform.position;
}
Comfortable Caterpillar