Jump to content
Posted 18 April 2011 - 03:58 PM
Posted 18 April 2011 - 05:15 PM
Posted 18 April 2011 - 06:06 PM
Posted 18 April 2011 - 06:14 PM
Posted 18 April 2011 - 06:18 PM
Posted 19 April 2011 - 08:54 AM
Posted 19 April 2011 - 04:40 PM
Dude... 3 people just told you that games use raycasting for this... why would you ask again? To answer your question about "other ways", though, any solution is going to involve 3D trig and the geometry of the level... something at which the GPU kinda has a pretty good handle on. Rolling your own solution would be sub-optimal in most cases.
And is there any other code, not GPU usage code, that is used for this? Or do all games use raycasting in general?
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-advisor of the GDC AI Summit
Co-founder of the AI Game Programmers Guild
Author of the book, Behavioral Mathematics for Game AI
Posted 27 May 2011 - 10:01 PM