Please see image below to see the positions I’m trying to locate.
And now… suffer with my English attempt to describe code idea. And then critique, knock yourself out, bash my stupidity. There’s more where it came from.
Locate the southern most vertices (shud b 8)
Find most west of the 8 (shud b 2)
SouthWestPositiveZ = highest on Z of 2
SouthWestMinusZ = the other vert
Locate the two most westerly vertices // shud only b 2
WestPositiveZ = highest on Z
WestMinusZ = the other vert
Store the other as WestZ-
SWmidpointPositiveZ.x = (WestPositiveZ.x + SouthWestPositiveZ.x) / 2
SWmidpointMinusZ.x = (WestPostiveZ.x + SouthWestMinusZ.x) / 2
Go to pub.
To some questions before I attempt to fuck my brain by figuring out how to write this in UnityScript or C#
Am I right about this method?
Is there a better way to do this if I have a couple hundred of these hexagons but only need any one of these midpoints at a time for player input?
http://i55.tinypic.com/2cie7x5.jpg
