Vive-Teleporter
Vive-Teleporter copied to clipboard
Generate the border dynamically (temporary solution provided)
Updated 11/17/16: I copied the functions u provided in ViveNavMeshEditor into a customized script I made and simply modified it to be able to call in runtime. Using the NavMesh Obstacle component in Unity I'm able to change the border dynamically.
Still, hope this function will be provided in the project in the future :)
PS. If anyone needs the same function I could send u the script I made as a temporary solution. It's clumsy, though.
I would advise against this, as the border generation function is quite inefficient (O(n^2) i believe). At least, don't do it every frame!
You can always create a custom solution that generates a border more efficiently around moving actors, without regenerating the entire mesh.