Jump to content

!Help !Help !Help ...Unable to click on 3d buttons in 3D panels.


Recommended Posts


A strange problem,

I have a SpherePanel with some buttons. I am using Oculus Go. The white color line coming from the controller is not reaching upto the panel even though the panel is very close. (May be it is thinking that there is no clickable stuff ahead).

            var button = new BABYLON.GUI.HolographicButton(Id);

            var evt = new BABYLON.ExecuteCodeAction(
                    trigger: BABYLON.ActionManager.OnPickDownTrigger,
                    parameter: 'r'
            button.isPickable = true;
            button.actionManager = new BABYLON.ActionManager(_this._scene);


I am setting both BABYLON.ActionManager.OnPickDownTrigger and onPointerDownObservable (I really don't know whether I should subscribe to both the events are which one) but it is not reaching upto the buttons. 


Please help me.

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...