Code:
this_distance=c_trace(vector(camera.x,camera.y,30), vector(camera.x,camera.y,-30), IGNORE_ME | USE_POLYGON | SCAN_TEXTURE);


I'm using this code to determine the surface of my ocean which is an animated model. The c_trace works fine without animation, but when I animate is only returns the original polygon positions.

How do I determine the real polygon positions?


A7 Commercial
First person submarine combat simulator project
http://alexanderforeman.webs.com/fightersubgame.htm