Mouse pick a triangle. How?

Blitz3D Forums/Blitz3D Programming/Mouse pick a triangle. How?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm trying to work out out the best way to select a triangle on my mesh with a mouse such that when I move my mouse over a mesh and press the mouse button, the nearest triangle under the mouse gets selected and highlighted.

Thanks.