//Jimmy Vegas Unity Tutorial //This script is for the npc collision using System.Collections; using System.Collections.Generic; using UnityEngine; public class NPCDestination : MonoBehaviour { void OnTriggerEnter(Collider other) { if (other.tag == "NPC") { this.gameObject.transform.position = new Vector3(176, 16, 127); } } }