THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/05/2006 at 01:23, xxxxxxxx wrote:
Cinema 4D Version: 8+
Platform: Windows ;
Language(s) : C++ ;
To simulate that an object is moving on a surface, I need to align an object to a face. I know collision point with the surface, and I get the normal of the found face, now I need to rotate the object according with the normal! This make me crazy, I'm new on vector math, and I can't find a way to do this!
Can someone help me with an exhaustive example ?