by mankrip » Sun Jan 09, 2011 11:43 am
From what I've seen in the tutorial, it should be easy to make it work only on some entities, which should reduce its processing requirements.
Another optimization would be to not use it on entities hit by tracelines that exceeds a certain distance, so entities that are far away would be processed through the regular hit detection instead.
And there's a kind of bug in that tutorial: It only applies the per-poly detection after the bounding box detection has been done, so if the bounding box is smaller than the model, some parts of the model will never collide against the tracelines anyway.
Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
/ /