PDA

View Full Version : Object selection



vibi
04-09-2001, 03:35 PM
I want to write code to shoot an object directly in the line of my gun. What check should I do to figure out if the object is hit?

martin_marinov
04-09-2001, 11:18 PM
Hi
You may use color picking, OpenGL selection buffer, raytracing or something similar. Search about selection in the forum - this question was asked many times.

Hope this helps
Martin