I’m very new to this, and have quite a few issues that seem to work for everyone except me, which is frustrating. Currently I can’t for the life of me figure out why this code always instantiates at 0,0,0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GoalSpawn : MonoBehaviour
{
public GameObject goal;
Vector3 initGoalPos = new Vector3(-3.5f, -7.0f, 0f);
void Start()
{
goal = Instantiate(goal, initGoalPos, transform.rotation);
}
}