This command, let's assume for now it would be called cursorToWorld or something named more appropriately, would return the world position where your cursor is pointing.
Currently the closest analogues to this would be:
- "cursorTarget" which only returns the object reference the cursor is on
- "screenToWorld [0,0]" which returns positions on the terrain and does not account for objects
The command would return 3D world coordinates of the location where the cursor is intersecting either geometry, terrain or skybox. Whichever comes first.
Potential expansions to the command would be the ability to ignore objects and only intersect with terrain or to choose different LODs of objects to take into account.