Page MenuHomeFeedback Tracker

Addition of a snap-to grid in 2D editor with adjustable cell-size and origin and azimuth
Closed, ResolvedPublic

Description

It would be nice to have an adjustable snap-to grid to guide and speed up precise object placement when making scenarios. The idea here is that the grid can be enable/disabled. Optionally, it can be set so that the snap-to feature only applies to objects as the are dragged after placement, or applies to objects AS they are placed, as well. The goal here is not to make things easier by limiting the options of the creator, but to make things easier through the provision of multiple tools and methods to choose form.

The purpose of adjustable grid cell size and origin is to make it easier to line specific objects up in continuous rows and\or columns, to create things like walls, tunnels, and corridors. Changing the origin of the grid would allow players to easily connect objects of varying dimensions, eliminating visual gaps and undesired overlaps.

With the option to alter the grid azimuth, you allow scenario creators the ability to create intricate designs that are perfectly lined up, without limiting their object azimuth alignment to the four cardinal directions.

When it comes to the issue of determining the snap-to points of objects, there are two options. One is to simple snap the center-point of an object to each grid intersection. It is my personal belief that this might make visualization a tad more complex than it needs to be, but I also believe that it may be the easier of the two. The second is to have the sides of an object (or its collision box/mesh) snap to the lines of the grid, with up to one vertical (y axis), and one horizontal (x axis) side snapping to their closest corresponding lines, while allowing the option to snap only one side in total, as well. This can be done either through a method of auto-detection (finding the nearest gridline and snapping to it), or the ability to switch on and off the snap function for individual axes (alt. axies). For example, one could enable snap-to for lines running the y axis, and disable it for ones running the x axis (which would, in actuality allow for freedom of movement ALONG the y axis, while being locked to a specific x axis coordinate).

Details

Legacy ID
167291008
Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Editor
Additional Information

It is important to note that the object snap-to properties will need to be defined by the 3D model itself, as several of the 2D editor icons are not proportional.

Event Timeline

GracelessCicada edited Additional Information. (Show Details)
GracelessCicada set Category to Editor.
GracelessCicada set Reproducibility to Always.
GracelessCicada set Severity to None.
GracelessCicada set Resolution to Open.
GracelessCicada set Legacy ID to 167291008.May 7 2016, 8:14 PM
LouMontana closed this task as Resolved.Jun 28 2021, 12:49 PM
LouMontana updated the task description. (Show Details)
LouMontana edited Steps To Reproduce. (Show Details)
LouMontana set Operating System to Windows 7.