yes, it work, but what some people want, it is the the mouse select the object, not the center
so you have to do the same, but not rotate the sphere as the camera, but .. I don't know how to explain it in english (I speak french ^^) ..
if you can move the mouse, you cannot use your system, and some people want to be able to move the mouse (for games as Warzone 2100), so you have to find the angle that is between the mouse and the camera, but .. oh, I don't know how to explain it ....
I'm not bad at mathematics, and I find the angles easy to find, but there's something odd.. look at it :
+ Code Snippetsync on
sync rate 50
make object sphere 1,1
do
fovy# = 38.6598
fovx# = 31
mx# = mousex()
my# = mousey()
angley# = ((mx# - screen width()/2)) / screen width() * fovy# * 2
anglex# = ((my# - screen height()/2)) / screen height() * fovx# * 2
sax# = wrapvalue(camera angle x()+anglex#)
say# = wrapvalue(camera angle y()+angley#)
if mouseclick()=1
position object 1,camera position x(),camera position y(),camera position z()
rotate object 1,sax#,say#,0
endif
move object 1,0.5
sync
loop
with it, we should have the good angles, but ... I don't know why, when the mouse is in the corners of the screen, it doesnt work at all, but when it stay near the middle of the height OR (nor and, or

) the middle of the width, it work very well....
I found the fovx# and fovy# by positionning a sphere where I see it in the up-right corner of the screen, so I know which angles are visibles on X and Y

but .. there's another way to do that .. whyn use the mouse and not a sprite that we paste on the true coordinates ? with the mouse we change the angles, we move the object, and when it hit something (maybe a banana ?) or it is very far, we stop it and paste the sprite on its coordinates .. I try to do that now