I want to change a point’s height by mouse, only height , because longitude and latitude was fixed. please tell me the answer.
Hi there,
You will likely want to convert Cartesian3
positions into Cartographic
positions in order to perform this action.
Thanks for the reply.
I tried, but the mouse’s position is out of the earth,it dosen’t work
I would suggest avoiding picking to chose the position on the globe, and instead offset the height based on how much the mouse position itself has moved. You can use the MOUSE_MOVE event for this (or a native handler if you prefer).