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 93 forks source link

Rearrange the project to make it easy to import via a .unitypackage #5

Closed hamaluik closed 8 years ago

hamaluik commented 8 years ago

Just needs a .unitypackage to be uploaded as a release, a la: https://github.com/FuzzyWuzzie/Vive-Teleporter/releases/tag/0.1.0

Flafla2 commented 8 years ago

I'm not sure I agree with making everything into a prefab... The [CameraRig] prefab for example is from the SteamVR API (just slightly modified for the purposes of the teleportation system) so if there are ever any API changes they could break the given prefabs. Also Mesh data is stored inside all ViveNavMesh objects, so the prefab would actually have faulty Navmesh data saved inside it.

I would argue that an updated README or "Getting Started" pdf would be the best solution - I'm working on that now.

Flafla2 commented 8 years ago

Hey, I just rearranged all of the files in a more .unitypackage friendly way in 4d4b872. I also added the ability to clear data from a ViveNavMesh, which might help with creating prefabs. I also plan on getting an updated README up tonight.

I'm closing this PR in light of these recent changes - feel free to reopen it or open another one if you have any other ideas.