Version: 5.5
public AI.NavMeshObstacleShape shape ;

Description

The shape of the obstacle.

Set or get the shape of the NavMeshObstacle.

A newly created NavMeshObstacle has a shape of the NavMeshObstacleShape.Box shape. The obstacle shapes are listed in NavMeshObstacleShape.

Note: When the shape is changed the center is set back to zero.