ok so i am instantiating an object in a .js script
i made an empty game object so it can be my spawn point
i threw the script on the game object and no matter what i do it is just instantiating in the middle of the world
here is the last thing i tried:
var currentPosition = Vector3(transform.position.x, transform.position.y, transform.position.z)
function Update () {
var instance : GameObject = Instantiate(Resources.Load("fake toy"), currentPosition, transform.rotation);
}