How Can I Select A Vertex With The Mouse

Blitz3D Forums/Blitz3D Programming/How Can I Select A Vertex With The Mouse

Delerna(Posted 2005) [#1]
What happened to the PickedVertex command???

I can select a surface and a triangle with the mouse through PickedSurface and PickedTriangle but can someone please educate me on how to do the same with vertices

Thanks


DJWoodgate(Posted 2005) [#2]
You find the minimum distance vertex for the picked triangle. Tformpoint the picked x,y,z to local space and check each vertex of the picked triangle to find the closest vertex to this point.


Delerna(Posted 2005) [#3]
OK tried that David and it works fine, thanks for the input


BlitzSupport(Posted 2005) [#4]
Just in case anyone else wants a way to do this: