Jump to content

Double Camera (Minimap)


Gerente
 Share

Recommended Posts

In the following PG the Minimap camera stay always under the Main Camera. If I switch the order how the cameras are added in the active cameras (line 30 <-> 31) the minimap appears over the main camera BUT the ONMOUSEOVER stop working (mouse over the red sphere)

 

http://www.babylonjs-playground.com/#10VU59

 

Can the Mouse events work in both camera?

 

What for are there lines?

 

mm.renderingGroupId = 1;
mm.layerMask = 1;
Link to comment
Share on other sites

Unfortunately no, the action system has to use a specific camera :(

You have to handle the second one by yourself :(

 

Ok, but how to I put the Minimap in front in the Main camera but being able to use the action system in the main camera?

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.

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

Loading...
 Share

  • Recently Browsing   0 members

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