Jump to content

Picking with boundingBox broken?


aWeirdo
 Share

Recommended Posts

Hey,

Is scene.pick with fastcheck broken?

i want to increase the picking area of some meshes, without having to make boxes around them or anything like that.

so i recalled there's a fastcheck option in the scene.pick function, which is used to pick boundingboxes, but now i can't seem to get it working; 

If you click on skull mesh, it is picked, if you click on boundingbox without hitting the actual mesh, it isn't picked.
http://www.babylonjs-playground.com/#1PJYD6#3

Any ideas?

Link to comment
Share on other sites

i think i was misunderstood,

but the main question would be;

how come it doesn't return a hit when clicking on a boundingbox?
 

also, comment from babylon.max.js

/// <param name="fastCheck">Launch a fast check only using the bounding boxes. Can be set to null.</param>
Link to comment
Share on other sites

  • 8 months later...
  • 1 month 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.

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