SinhNQ Posted July 10, 2018 Share Posted July 10, 2018 Hi! As like the title, please refer to the PG: https://www.babylonjs-playground.com/#9RUHH#24 If this is not a bug, how to fix it? (Not remove or set isPointerBlocker = false). Thanks! ? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2018 Share Posted July 10, 2018 Not sure to understand If you set isPointerBlocker = true, then the GUI will block the pointer It is definitely not a bug because you asked for it Quote Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2018 Share Posted July 10, 2018 Can you tell us more about your intent? Quote Link to comment Share on other sites More sharing options...
SinhNQ Posted July 10, 2018 Author Share Posted July 10, 2018 WOW... Your memory is good ? Yes, previously i have asked about it but applicable in the case use Scrolling Component (it extended Container, have time i will make a PR ?). Currently, in my game have a full screen UI, have a special layer (Container) and set isPointerBlocker = true. This leads to the Mesh and Sprite using ActionManager are not triggered event. If this is not a bug, i will find another way to fix it. ? Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted July 10, 2018 Share Posted July 10, 2018 Hi @SinhNQ As Deltakosh said, it's not a bug, isPointerBlocker = true, blocks pointer events, they're stopped at the GUI and never even reach the actionManager. Your setup blocks the entire scene as indicated by the red colour: https://www.babylonjs-playground.com/#9RUHH#26 Quote Link to comment Share on other sites More sharing options...
SinhNQ Posted July 10, 2018 Author Share Posted July 10, 2018 Thanks aWeirdo! Yes, i know that. because of in my special case, i forced to do this ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.