Sorry, we don't support your browser.  Install a modern browser

add snapFrom points as distinct from snapTo points#851

snapTo points are exactly what we have right now. If objectsA has a snapTo point, objectB’s origin will snap to that point.

what I propose is objectB have snapFrom points so that objectB can snap to objectA meeting places other than the origin.
(the origin is effectively an implicit snapFrom point).

would use the tag system by checking if a snapFrom and a snapTo agree on tags in order to perform the snap.

3 years ago

Love it and I think we reallllly need this. But I don’t like the name you gave them. I’d call it something like Snap Origin or Snap Center.

Also, there should be multiple Snap Origin points allowed on one object. With tags, this could be useful in several places. For example:

If there are spots on the board/table/player board that don’t show a whole outline of a card but only part of it since the card would go past the board’s edge. You could then place the Snap Point on the edge of that board and be confident that the card will be placed on the edge of that board thanks to it’s 3rd Snap Origin point which has a matching tag. You can do that rigth now by placing the snap point off the board and onto the table so that it lines up, but first off it’s annoying to align, and secondly if you move the board you’ll have to replace the Snap Points manually.

3 years ago

re: multiple: well yeah… that’s why I used the plural form of points throughout my entire suggestion. as far as names? okay, a different name I guess? but like: bike shedding…

3 years ago

I’m not sure I understand completely. You’re suggesting that the snapping object go to the snap point and then offset itself from that position? Will the snapping object’s centre still be used to trigger the snapping, or will the offset centre (the “SnapFrom” point) be used instead?

A vertical offset (of the final snapped position) would be particularly useful…

3 years ago

I’d probably do it so that the SnapFrom point triggers the snap as that’s more What-you-see-is-what-you-get. for the purposes of snapping, the SnapFrom would behave like the origin of the object temporarily.

3 years ago

“SnapFrom” is not the best name. Maybe “SnapWhat” or bettr yet “SnappedPoint”?

3 years ago

I don’t really care what it’s called. SnapFrom seemed intuitive because it’s Snaps To a snap point From this point. but again: bike shedding.

3 years ago

re: name: in this case I think having a good name’s not just bikeshedding coz it helps understand what the difference between both types of Snaps is (also idk if there’s much more to be talked about features-wise).
But it’s not easy to name in this case. Maybe the best answer is moving away from “Snap” altogether and using wording like “Slot” and “Plug”.

re: multiple: just wanted to emphasize it as an important feature of these Snaps

3 years ago