Draggable in potree like Three

Hi ThreeJS Team,

i just discovered your site we, and the drag function, i would like to implement it in potree.org
Do you think this is possible?
Which track of research?


Thanks in advance

Are you looking for something like this? You can drag around point clouds representing box geometries.

DragControls uses raycasting in order to identify objects for dragging. Unfortunately, raycasting against individual points is not super reliable. You might want to adjust raycaster.params.Points.threshold or perform raycasting against a bounding volume. In both cases you have to adjust DragControls.

I’m not familiar with potree so I can’t give you any advices regarding this project. You might want to ask a question at stackoverflow or at the official github repo.

1 Like