Hey Brian,
Thank you again for the info!
I’m going to pick your brain once more since the link you put there has amazing information.
If I’m using a hex mesh, say as part of an asset pack, how do you go about getting the proper dimensions for it? If I don’t know the length or even number of units it uses, it makes applying any of the calculations pretty tough.
For example, I don’t know how I’d properly pick a “grid size” since the prefab is unlikely to be a perfect size and match up to unity units (especially since a hex will have to be shorter).
I’m guessing when you mean “factors”, you’re meaning the total distance from the center to the opposite side? (i.e. points up to points down, or middle of flat edge to middle of flat edge)
I have some code working, sort of, using a combination of your class above and some other sources/my own code. However, since I want to use a mesh that I can texture myself, and not sure what the sizes will be, the code doesn’t seem to support these calculations as accurately as I’d like.
Hopefully this makes sense. If you have any resources for getting dimensions of a mesh and the unity space, that’d be great. (Assuming “grid size” should be using unit units.)