Jump to content

Set square shape to tube and make draggable


masterdon
 Share

Recommended Posts

Hi Team, I am working on a project to create 2D editor for house modelling. So far, i have created a demo showing a tube as rectangle.

http://www.babylonjs-playground.com/#7EJ4CM#2

My goal is to use the rectangle as object like walls where certain objects like doors,windows etc can be dragged and dropped. Everything in 2D. So i wanted to know:

1) how to change circular tube to square shaped ones. so that the edges gives look and fill of wall.

2) how to allow users to resize rectangle by stretching edges/sides of rectangle.

3) option to drag and drop certain objects on rectangles edges.

 

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