Hi !
who can explain to me why my code doesn't work ?
If I set the entitytype of the sphere to 20, and the filter too, there isn't result of the linepick, if I set it to 0 it's ok....
local sphere:tmesh=createsphere()
EntityType(sphere, 20, 1)
Print GetEntityType(sphere)
Local pick:TPick = LinePick(Vec3(0, 0, -5), Vec3(0, 0, 10), 0, 20)
If pick <> Null Then
Print "ok"
End If
thank,
Nicolas