Jump to content

Check if intersect with any mesh


servusdei
 Share

Recommended Posts

Hello,

So I have a plane (which I use only as sort of box collider, so I have it invisible) and I would like to be able to know whenever that plane intersect a mesh (any mesh).
- I looked at : mesh1.intersectsMesh(mesh2, false) but it's not useful to me because I have to specify a target mesh.
- As for raycast, I dunno how they can be usefull to me since I want to check intersection with a plane not a ray.
Any other solutions ?

Thanks a lot.

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