codeLabs-summer2021 / 3D-Model-World

A real world environment to place, view, and share all your 3D models.
https://3d-model-world.netlify.app/
2 stars 0 forks source link

Click, drag and drop models #17

Open OmarShehata opened 3 years ago

OmarShehata commented 3 years ago

The Feature

It would be nice to be able to click on a model and drag it around directly.

Why?

Right now the only way to move a model is to 'right-click' and immediately update the model's location. Having the ability to click and drag a model will allow for fine-tune positioning and be more user friendly when moving a model short distances.

Solution(s)

Currently all models are loaded into their own scene, and there is no raycasting implemented. This could be a tricky task. Check out this article about raycasting and moving models with the mouse and three.js