three.js forum
Limit distance object can be dragged with DragControls
Questions
controls
,
drag-controls
prisoner849
September 22, 2020, 1:49pm
2
Hi!
You can clamp object’s position:
1 Like
Limiting the draggable area
Does anyone know why clamp position isn't working in this code?
show post in topic
Related topics
Topic
Replies
Views
Activity
Limiting the draggable area
Questions
mesh
,
raycaster
,
drag-controls
2
1476
July 12, 2022
Drag an object only in the x y axis
Questions
drag-controls
,
group
6
12648
March 17, 2020
Does anyone know why clamp position isn't working in this code?
Questions
drag-controls
,
position
,
clamp
6
105
November 5, 2025
Looking for ideas on how to create this interaction with object limits and dragging
Questions
collision-detection
,
drag-controls
0
406
June 1, 2022
How to restrict object translation when using DragControls?
Questions
drag-controls
3
1496
August 5, 2021