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

Vive Teleporter needs a way to tell the surrounding App that teleporting is in use #17

Closed markmanes closed 7 years ago

markmanes commented 8 years ago

There may be an understood standard for these types of things (which I do not know) but I find myself needing to modify the vive-teleport script so that I can tell the rest of my app to stop what it is doing in regards to controllers (i.e. disable the laser pointer I have attached to the controller). Is there a better way than modifying the vive-script which I would like to update as it moves forward to let the rest of the app know that the teleporter is use?

mikeshultz commented 8 years ago

You could change private bool Teleporting = false; to public bool Teleporting = false; within TeleportVive.cs and access it from your own scripts. It still requires a modification, but it's pretty minor.

Flafla2 commented 7 years ago

Fixed in 233f522