3dstreet icon indicating copy to clipboard operation
3dstreet copied to clipboard

Snapping

Open elisfsharri opened this issue 1 year ago β€’ 2 comments

Add fixed positions for certain props where they can snap to. There should be the ability to enable / disable it. Examples :

  • Dashed, solid or double solid lines snap to lane side
  • Lane arrows snap to the middle of the lane
  • Vehicles snap to lanes
  • Cyclists to bike lanes
  • Pedestrians to sidewalks or crosswalks
  • Bus stations snap a fixed distance from sidewalk edge
  • Medians snap only between lanes (general, bus or bike)
  • Street lights, signs and trees snap a certain distance from lane but not on another lane (thus on sidewalk or ground)

elisfsharri avatar Oct 19 '23 11:10 elisfsharri

Here is a video that shows how snapping (and other things in road building) works in Cities Skylines 2

https://youtu.be/OXjSs_wV6sk?si=RnMzgZPMJNVL2ShP

elisfsharri avatar Oct 20 '23 10:10 elisfsharri

Thanks for the suggestion, this resonates with other feedback we have received including restricting the ability to move objects on the vertical y axis.

Maybe a "v1" could be "ground snapping" option that when activated does not allow objects to be moved in y axis by the user using the transform controls (the colored arrows near the object) and will automatically place the object on the correct y position when dragged. However the user can still use the right-hand properties panel of the editor to adjust object y position manually or uncheck the snap to ground option.

In later tickets we can tackle more advanced topics such as snapping models within certain groups to corresponding types of segments (ie cyclists in bike lanes, markings in separator segments, etc.)

kfarr avatar Oct 29 '23 04:10 kfarr