leberechtreinhold / dba3_tts

A module for playing De Bellis Antiquitatis 3 on Tabletop Simulator
https://steamcommunity.com/sharedfiles/filedetails/?id=2105272640
MIT License
3 stars 2 forks source link

00013 snap on intersect #15

Closed marcpawl closed 3 years ago

marcpawl commented 3 years ago

Snapping improvements.

Two effects:

  1. Bigger threshold if the moved base will be on top of another base when snapping.
  2. If multiple snap rules could be applied, the rule that would cause the least extra distance is applied. Previously, the first rule that would match would apply which in the case of WWG gave some unexpected movements.