Method PlaceNavMeshObstacle_Custom
PlaceNavMeshObstacle_Custom(String, RideVector3, RideVector3, RideVector3)
Places a custom obstacle in the navigation mesh so that the area around it becomes non-navigable.
Declaration
public void PlaceNavMeshObstacle_Custom(string customMeshPath, RideVector3 position, RideVector3 rotation, RideVector3 localScale)
Parameters
Type | Name | Description |
---|---|---|
System.String | customMeshPath | Path (string) to the custom mesh used for creating the obstacle |
RideVector3 | position | Position of the obstacle |
RideVector3 | rotation | Rotation of the obstacle |
RideVector3 | localScale | Local scale of the obstacle |