Flafla2 / Vive-Teleporter

A framework for Unity3D that automatically generates teleporter boundaries and facilitates the teleporter mechanic, similarly to Valve's "The Lab"
MIT License
394 stars 94 forks source link

Changing the NavmeshData during Runtime #51

Closed MotionBrain closed 7 years ago

MotionBrain commented 7 years ago

Hey,

I need a solution to change the NavmeshFiles during runtime. For example if I do something "special" a new area will be activated. I just need to change the Area Mask and clear / update the Navmesh. Hope you understand my issue and help me out here (: .

Thanks MotionBrain

MotionBrain commented 7 years ago

Got it,

I just created different Nav Meshes and used the area masks to call different navmeshs. you'll need to change the NavMesh on the pointer and the animator of the camera eye (: