I appologize up front for asking a question that shows how little I know. I've looked at a variety of things for hours and hours and I've probably skipped right over the easy solution a number of times.
Below is a map I created by loading a greyscale bmp file into a TerrainSceneNode and then applying a hexed up texture (that needs lots and lots of work... as you can see).
Someday, I intend to drop objects onto the map -- Civil war Units of course!! And of course it would be nice to move the cursor over the map and to know things about a particular hex (that I would store in an array somewhere). Now, I can fairly easily know what hex I'm on based on the X and Y coordinate that the hex is on the map. For instance, I can know if the hex is in the third row down, or if it is around the fourth hex across - that kind of thing.
Here is my painful question - If the mouse cursor is over the terrain, How can I know where on the terrain that the mouse is? For example, is there a way that the top left of my terrain (or any known part I guess), would report as X,Y at 0,0 and points relative to that make sense. And if I could do that, I'm sure I could lift the elevation of a given point also.
Should I be studying tutorial 7 - collision?
Oh, and how can I share the image with you guys (I'm a complete beginner with web stuff!!)
Thanks,
Piet