Method PlaceNavMeshObstacle_Capsule
PlaceNavMeshObstacle_Capsule(RideVector3, Single, Single)
Places a capsule obstacle in the navigation mesh so that a specific radius becomes non-navigable.
Declaration
public void PlaceNavMeshObstacle_Capsule(RideVector3 position, float radius, float height)
Parameters
Type | Name | Description |
---|---|---|
RideVector3 | position | The world position of the navigation mesh obstacle |
System.Single | radius | Radius of space that is non-navigable |
System.Single | height | Height of space that is non-navigable |