2.49b: In BGE, moving cursor over an object, how can I get the location on the object that the mouse is over?
(using Rasterizer.showMouse(1)) (not position OF the object, position on the object of the cursor). This would have to be a 3D point, to be able to draw a line from that point (on the object).
This would be so I can make a line be drawn from that point on the object to another object (a font/label describing that object). I can make the line go from the center of the hit object, but that may be covered by another object, making what the line is designating unclear. Moving the cursor to a not covered part of the partly covered object could then allow the line to be drawn from that point instead of the covered center of the hit object.
And it would be useful if the script could know if the center of the partly covered object is covered or not, so I could make the line preferentially go from the center if it’s not covered, but from the cursor if the center is covered.