After a half-day of work scouring the API (Blender 3.1), I couldn't quite find something that helps me solve my problem. Questions:
- How can I draw a custom grid floor?
- How can I create a custom snap option to snap to said custom grid?
My motivation is simple. I'm working with a 3D tile map, where each tile is inside a hexagon volume like so:
When visualizing if each tile fits visually, it is nice to position them like they would be in a hex grid, in-game. The snapping tools work great with square tilemaps, but not hexes. So, the grid is the visual guide, and the snapping becomes obvious.
Ideally I'd like to put the snapping option under here:
But wouldn't be bummed out if that's not possible.
NOTE: Just to make it clear, I'm not asking for the maths to implement those features just which API I could use to implement them myself. I'm happy to provide the source code later to others who find this helpful. The Grid is just a bonus. What I REALLY need, is a way to snap wherever I please.