Jump to content

onPointerUp with multiple cameras


Recommended Posts

i have a problem with the Scene.onPointerUp event.
In this playground: http://babylonjs-playground.com/#1HL20V#1  i have 3 cameras. 
I want to use the onPointerUp event to pick the sphere in the viewport of "cameraRight".
I expected that i can use "scene.cameraToUseForPointers" (line 25) to select the active picking camera but its not working correctly.
The picking only works correctly for "cameraBottomLeft" if i set cameraToUseForPointers to "cameraBottomLeft".
Is this a bug?

Link to comment
Share on other sites

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...