bevy_transform_gizmo icon indicating copy to clipboard operation
bevy_transform_gizmo copied to clipboard

Snapping

Open aevyrie opened this issue 3 years ago • 4 comments

Add angle and translation snapping

aevyrie avatar May 22 '21 07:05 aevyrie

Not sure how you plan to implement this but one version of snap to grid functionality I always liked was the one Second Life uses where you don't snap while you are inside the grid markers and do snap when the mouse cursor moves outside (they are parallel to the main arrows for the axes).

taladar avatar Feb 20 '22 20:02 taladar

Not sure how you plan to implement this but one version of snap to grid functionality I always liked was the one Second Life uses where you don't snap while you are inside the grid markers and do snap when the mouse cursor moves outside (they are parallel to the main arrows for the axes).

@taladar do you have an example video you could share, so I could better understand?

aevyrie avatar Feb 21 '22 19:02 aevyrie

@aevyrie

Not my video but e.g. in this one he explains it quite clearly https://www.youtube.com/watch?v=-4Pniy7oj18&t=86s

taladar avatar Feb 21 '22 19:02 taladar

That's cool! We will probably start with a very simple snapping mode (on/off, configurable snap distance), which can be built upon.

aevyrie avatar Feb 21 '22 19:02 aevyrie