How do you add an object (prefab) and then teleport it? Because you cant refer to the runtime object can you? Im sure I did this but I have forgotten how!..
edit: i see the "constantid" is the same when I refer to the prefab, so maybe it can work, but for some reason my object is not teleported?
edit: actually I think the ai system im using is causing the problems and moving him back after teleporting, I just want an easy way to create and position enemies..
Comments
If set relative to a GameObject, then it should take that GameObject's position - provided the prefab itself has a position of (0,0,0).