kovacsv / JSModeler

A JavaScript framework to create and visualize 3D models.
MIT License
655 stars 123 forks source link

Drag an object over another object. #52

Open udaydutta opened 3 years ago

udaydutta commented 3 years ago

Viktor - Is there an code example for dragging and dropping an selected object over another one? I am working on creating a building model and want to locate the openings (Door/Window) on the wall interactively. Any example code will be highly helpful. Thank you.

kovacsv commented 3 years ago

Unfortunately I can't provide you any working examples on dragging and dropping. Also, creating a window in a door is tricky, because the door should cut it's volume from the containing wall, so it should involve some CSG operations, too.