PDA

View Full Version : Direct3D9 terrain collision


mikeeee
06-16-2006, 05:44 AM
Hi, im new here and not sure if this is in the right section so I appologise if its in the correct place.

I am having some trouble trying to get my head around terrain collision, I created my terrain using the techniques from this website: http://www.toymaker.info/Games/html/terrain.html . I have being told I should work out which cell im currently in within the terrain and then extract its height, I can work out which cell im in but I cant seem to get my head around how to find the vertices that go with this cell.

any help would be appreciated
thx
Mike