How to Pick Face?
There is pickPoint function that lets user to pick a point in the scene.
How would it be possible to do same act for face? Like if you have face snap toggled and as you move through the scene little triangles pops up. How would it be possible to trace on wich triangle user clicked?
I would need this to set vertexes Z coordinate so that it intersects with plane represented by clicked triangle.
Comments
The best way is to use the
The best way is to use the following stuff:
create a mouse tool
use a MapScreenToWorldRay function to get a ray from the pointer to the scene
use IntersectRayEx function with the ScreenToWorld ray and the desired object.
--aut inveniam viam aut faciam--
--aut inveniam viam aut faciam--