Jump to content

Can I dig a hole in one side of a box?


Recommended Posts

Well, Interesting...  I am super happy now :) 
One thing which i discovered while solving this is it's easier to create hole when we are generating mesh, it gets much more complicated after it's creation. (my old triangulation problem which I am trying to solve... I wonder how the blender's knife tool works :D )

I have modified the createBox code, you can pass the hole coords to the constructor in options along with the side, here have a look - https://www.babylonjs-playground.com/#UU7RQ#208

@Deltakosh Should we add this feature in the engine ?

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