Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: kavery on May 23, 2018, 04:23:34 PM
-
This seems to be the best method for detecting moments of engagement or disengagement. Is there currently a way to do this with PM, or would a custom action be needed?
VREvent_TrackedDeviceUserInteractionStarted
VREvent_TrackedDeviceUserInteractionEnded
There is also:
In Unity using the OpenVR plugin, the function to check is: OpenVR.System.GetTrackedDeviceActivityLevel(0)
-
Are you using a set of custom actions already for VR?
If so, which set?
-
Good question. The solution may lie in a purchased asset. I've been trying to get ugs to work but I keep getting errors like this and can't get ahold of the author.
Assets/ugamesoft/Playmaker/VR2.0/GetRefreshRate.cs(42,33): error CS0619: `UnityEngine.VR.VRDevice' is obsolete: `VRDevice has been moved and renamed. Use UnityEngine.XR.XRDevice instead (UnityUpgradable) -> UnityEngine.XR.XRDevice'
Is there another tool set you reccommend?
-
VRTK is pretty robust, and I have created a few hundred actions for it. It runs on steam VR (which is built on top of open VR as I understand it).
Here is the getting started guide from my channel:
-
Looks terrific. We could use a lot of those functions.