Pusat hambatan, diukur di ruang lokal objek.
Sitemap Ketika sebuah Note: dibuat NavMeshObstacle diatur ke nol.center is set to zero.
// Default center is (0, 0, 0) using UnityEngine; using UnityEngine.AI;
public class ExampleScript : MonoBehaviour { void Start() { NavMeshObstacle navMeshObstacle = gameObject.AddComponent<NavMeshObstacle>(); Debug.Log(navMeshObstacle.center); } }