Forum Discussion

redwhiteca_serd's avatar
8 years ago

How to use Oculus' own laser and reticle in our app?

I want to use the exact same laser and reticle that Oculus is using in the UI with the controller. Is there a prefab for these? How can I do it?

3 Replies

  • Can you move this to dev forum please? Here is a screenshot of the laser and reticle assets I mentioned.

  • I'm trying to follow these steps to do the same thing, but am running into a bug
    https://developer.oculus.com/blog/adding-gear-vr-controller-support-to-the-unity-vr-samples/ ;

    The errors I'm getting are:
    -- Assets/VRStandardAssets/Scripts/VREyeRaycaster.cs(36,93): error CS0117: `OVRInput' does not contain a definition for `controller'
    --Assets/VRStandardAssets/Scripts/VREyeRaycaster.cs(42,55): error CS0117: `OVRInput' does not contain a definition for `GetconnectedControllers'

  • Following the guide mentioned above I finally managed to make the line come out of controller but I have no idea how to create reticle. Existing guide use sample projects but there are no explanations on how to do things the ground.