How can I get the Z point of my world when I have the X,Y
position from my mouse click?
Sharon.
How can I get the Z point of my world when I have the X,Y
position from my mouse click?
Sharon.
You need to take a look at Picking - basically, create a PickTool, set it’s type and then retrieve a PickIntersection when the mouse is clicked. I only did my first experimentation with this yesterday, so I don’t really know much more than that about it, but that is where you need to start.
There is a utility class called PickCanvas that does the conversion neatly for you.