THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/10/2003 at 15:52, xxxxxxxx wrote:
Cinema 4D Version: 8.200
Language(s) : C++ ;
My 3D Math is not great and im having trouble trying to rotate an object to the same direction a Polygon is facing.
At first I thought I would calculate the normal of a polygon to determine the direction my object needs to be. But I dont know how to use that to rotate the object in the same direction as the normal.
Any help is much appreciated
On 06/10/2003 at 14:49, xxxxxxxx wrote:
you could make a vector and convert it with VectorToHPB()
On 07/10/2003 at 03:32, xxxxxxxx wrote:
Yea, thats what I did in the end.