I trace by mousemovement over a whole terrain.
tracing works correct - it hit the traced terrain... I set an entity at this position.
But the hit vertexnumber is wrong.
var vertex_num = ent_nextvertex(you,hit.x);
When using
vec_for_ent(hit.x,you);
var vertex_num = ent_nextvertex(you,hit.x);
the vertexnumber is correct - except the very first hit vertex.
As I said, the terrain is created 100 quants ahead.