Help please
gameObj.GetComponent<Collider>().enabled = false;
AstarPath.active.UpdateGraphs(gameObj.GetComponent<Collider>().bounds);
(gameObj is the rectangle on the screen set in the inspector)
How come its not filling in the entire bounds of the collider?
The collider size should be correct considering it managed to remove it from the graph and I am using the same collider to refill the graph.
It works fine if the original box isn’t scaled…