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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.