0
$\begingroup$

I want to project mouse 2d coordinates to a face that I am hitting with Python.

enter image description here

Is it possible to store a rotation matrix of the face that I hit, so that I can always move the vertices along the face?

It should be like that, that I project the first point to the face. Then I add a second, third... vertex and so on, but for these ones I dont need to hit the face anymore, they should be projected to the "projecttion plane" that is defined by the rotation the face in 3d space (hope this is understandable).

I could use the method region_2d_to_location_3d then if I use a region3d as parameter that has the rotation maxtrix of the face, right?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.