Thanks for the quick reply, but that is exactly the problem the aiming.
Because you have get the position of the Bullet in the 3D world.
In gamemaker I solved this with a color trick, but that is very slow and I think unique to gamemaker drawing routines.
(what I did:
- Draw the screen to a canvas, and give every possible target a color
- Get the color from my mouse position, and check against a target color.
- redraw all target with its screen color to the canvas
- draw canvas on screen.
(The color space is not really limited through this method [approx. 10 RGB vals / target), but its slow)
Has anyone a fast more elegant solultion for off center 3d aiming