It should have code examples on how to make it resize a part, move a part, and rotate a part with grid snapping
Affected URL: https://create.roblox.com/docs/reference/engine/classes/Handles
It should have code examples on how to make it resize a part, move a part, and rotate a part with grid snapping
Affected URL: https://create.roblox.com/docs/reference/engine/classes/Handles
Hi @luabarnes ,
Handles are a fairly old and primitive class. Even with their mouse events, you’d need to make some very niche calculations to match drag distance in the 2D viewport vs. drag distance in the 3D space. As for descendants of the HandleAdornment class such as ConeHandleAdornment, those have more visualization options, but they’re solely visual and won’t provide the type of interaction I think you’re looking for.
If you want to mimic something related to Studio’s draggers inside a game, I recommend 3D drag detectors which you can use to drag objects along axes, script for particular behavior, use both in “edit” and “run” modes, and many more things. They’re likely the most feature-rich class which will get you toward what you suggest in the original post.
Take care,
IgnisRBX
Ok but I still like the handles honestly. they could be improved at an engine level maybe?