nose.... er.. Vertexpicking

Blitz3D Forums/Blitz3D Programming/nose.... er.. Vertexpicking

D4NM4N(Posted 2005) [#1]
Whats the best way of picking vertices using the mouse and returning the index,x,y,z ?


Ezbe(Posted 2005) [#2]
As there's no PickedVertex-command, one way would be to use PickedTriangle, then go through triangles vertices (TriangleVertex) and determine from the PickedX, -Y, and -Z -coordinates which vertex of the triangle was closest to the point picked.


D4NM4N(Posted 2005) [#3]
hmm hadnt thought of that :)


Rook Zimbabwe(Posted 2005) [#4]
There was a nosepicking command in Blitz3D 1.0 but I think Mark removed it as the mouse got all slimey when it was abused!!!


D4NM4N(Posted 2005) [#5]
lol