I am doing a mini game whereby player click on the screen to shoot some object down.
It is a 3D game. So when an object pop out, the game will draw a billboard to ask the player to click on it. When player click on that object, the object will fall down. The camera is static, and fix in one side.
Right now i am stuck with the mouse picking. I have no idea how to translate from 2D coordinate to 3D coordinate. I search through the forum to get some inspiration, but couldn't find any. I tried to do ray casting, but i don't know what to specified for line.start and line.end
Will anyone kind enough to give some guidance? Thank in advance
Mouse Picking (2D to 3D coordinate)
maybe this is what you're looking for?
getScreenCoordinatesFrom3DPosition(...)
getScreenCoordinatesFrom3DPosition(...)
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:

http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java