PDA

View Full Version : Object selection



vibi
04-09-2001, 04: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-10-2001, 12:18 AM
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