Jump to content

2D Shape, Disc wit inner radius


Nockawa
 Share

Recommended Posts

Me again, and I believe this is for @jerome again! :)

I'm using the MeshBuilder to create a disc like this:

var circle = BABYLON.MeshBuilder.CreateDisc("botCircle", { radius: 1, tessellation: 18, sideOrientation: BABYLON.Mesh.DOUBLESIDE}, this.scene);

image.png.933d992ae94fdbd9cdcdcd5bfe0d69d0.png

 

Now I would like to create another disc around the one above, with an inner radius of 1 and (outer) radius of 1.5 to get a shape that will 'extend' this disc, not overlapping it. Is there a feature to do that? If not I believe, I'll have to take a look at the CreateDisc implem and add my own...

Thanks guys

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