Toggle Sleep State using OSC
Okabintaro opened this issue · 2 comments
I think it would be a nice feature if you could enable and disable sleep mode using a bool parameter and OSC.
That would make it possible to add a toggle to the expression menu or use a contact or something on the avatar without having to resort to overlays to show the desktop and the application.
Ahh yes! Something like that has been playing in my mind as well.
I'm considering a unity package with a menu and some parameters that can control some of the basic functionality.
I've been finding myself really wanting an in-game toggle for the upcoming sleeping animation automations, so I feel like toggling the sleep mode could fit right in.
Currently I've got some other things queued up, but it is something I would like to add eventually.
@Okabintaro I've added this feature and it's currently in the develop branch. It'll come with the next release, which will hopefully be somewhere next week. If you want to try it out before then, you can do so with the latest Development Build.
If you want to build something yourself, you can find documentation on how to control Oyasumi over OSC here.
Alternatively, there is now a premade unity asset that you can use instead. You can find instructions for how to add this to your avatar here.