PlanarAlly
PlanarAlly copied to clipboard
[FEAT] Ruler distance measuring method options
Is your feature request related to a problem? Please describe. Various TRPGs have different ways they handle distance measurements, especially along diagonals. For example, D&D 5e allows non-euclidean measurements, where all movement costs 5 feet in every direction on a 5 foot square grid, even in diagonals. There is also an optional rule (similar to 3.5e, DMG p242) to calculate 1/2/1/2 square movement costs in diagonals (first square costs 5 feet, second diagonal square costs 10 feet, third 5 feed, and so on) to better approximate the actual distance, but still make it easier to calculate without assistance.
Describe the solution you'd like Being able to configure the ruler behavior would allow the system to serve the most systems. At least two settings seem to solve this:
- Ruler Calculation Method: Free (current behavior), diagonals measure same as orthogonal (5e default), diagonals measure with algorithm (5e variant)
- Ruler Grid Snapping: (no snap [free], snap to intersection, snap to center)
Describe alternatives you've considered The 5e method can be approximated by simply measuring the longest orthogonal direction between two squares instead of the hypotenuse between them if you make a right triangle between two points. Remembering to do this adds friction to player experience.
Your second wish has also been added by dthv in a recent issue #485, so this issue will focus on the first aspect.