THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/09/2011 at 09:58, xxxxxxxx wrote:
I have the normal vector of a polygon face. I also have the center coordinate of that polygon.
Now I want to place an object at that location (easy) but also rotate it so that it is perpendicular to the face. So, how can I use the normal information to rotate my object to a suitable orientation?
On 27/09/2011 at 10:43, xxxxxxxx wrote:
I don't know what language you are using, but in Python (and for sure in C++ as well) there is a function called "VectorToHPB". This is what you search for.
On 27/09/2011 at 13:17, xxxxxxxx wrote:
Thank you very much. That did the trick.
By the way, I'm using Xpresso but I could make it work fine with a C.O.F.F.E.E. node.
On 06/11/2011 at 17:31, xxxxxxxx wrote: