Flafla2/Vive-Teleporter

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

Closed this issue · 2 comments

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?

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.

Fixed in 233f522