detect 3d object under guiTexture 'cursor'

Hi,
I’m using head tracking (faceAPI) to move a guiTexture ‘cursor’ around the screen. When I position the guiTexture over a given world game object, I’d like to be able to detect which object the guiTexture is over, but can’t use any of the mouse functions.

Anybody tried something like this?

Thanks for your help!

Brian

Do the objects you want to detect have colliders?

Yes, they have colliders (or if some don’t, I can add them).

You should be able to use Physics.Raycast() for this then, I would think.