I'm trying to create a passage that isn't walkable until I put a stick on it.
Using the pathfinding of Unity, I would like to change the NavMeshSegment to NOT walkable in the beginning, and walkable when I put the stick.
With the Object: Transform method isn't working because the Bake it's calculated in the Unity editor, so if I only move the NavMeshSegment the player still walk on that zone...
The only "working" method is to put a big CollisionCube on the Default layer above all the not walkable zone... but it's not very comfortable...
There is another trick I don't get?
Tx and bye!
Comments
During the we i'll try on unity the things you sayd.
For the Custom Action code, don't you have a dropbox or Mega account to put directly the file with the script on? Then you can share the link here.