Jump to content

How to disable default pointer move?


Recommended Posts

I've been working on something that required me to look into the scene._internalPick.


Every time the mouse moves it loops through the meshes in the scene and if the mesh passes the predicate test it checks to see if the ray intersects it.   The intersect method allocates a BABYLON.PickingInfo object on each call.  If a PickingInfo object isn't created on the last pass of the loop, one is allocated to return to the caller of internalPick.

I'm pretty sure this happens by default:


What would be a good way to disable that if someone doesn't need it?

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