@Grimber:
as stated in his signature he is using A5, so c_trace won't work here.
Would he be using A6, i definatly would have suggested c_trace with get_hitvertex.

EDIT:
One thing about my code:
I think you can remove the wait(1); at the end of the while loop, caus it becomes invalide after checking through all vertices.
So it would take like 2000 frames for a model with 2000 vertices, so it would take some time till all vertices are checked. But I think there is no other solution for those who still use A5.

Last edited by Thunder; 03/22/06 15:24.