Scripting API

NavMeshObstacle

class in UnityEngine.AI · UnityEngine.AIModule · inherits from Behaviour

11 of 11 of Unity's membersUnity's documentation
In Tassix

An obstacle agents steer around (as a circle on the ground: a capsule's radius, or the circle around a box). It doesn't carve the navmesh yet.

Properties 10

bool carveOnlyStationary { get; set; }
bool carving { get; set; }
float carvingMoveThreshold { get; set; }
float carvingTimeToStationary { get; set; }
Vector3 center { get; set; }
float height { get; set; }
float radius { get; set; }
NavMeshObstacleShape shape { get; set; }
Vector3 size { get; set; }
Vector3 velocity { get; set; }

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.