THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/10/2011 at 20:11, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13
Platform: Windows ;
Language(s) : C++ ;

Hey everyone,
I was wondering if someone could help me figure this problem out. I am creating a spline, and have all of the points of my spline and I place those points a certain distance away from the previous point. I would like to place on point at world center and then place one point above that at 100 above world center, which is easy, but then I would like to place one 100 away from the second point but at an angle of 45 degrees from the first line. Can anyone think of a formula that I can use to determine where the third point should be placed is I want it to curve away from the original line by 45 degrees?
So I want my spline to look like this.. :
/
/
/


The vertical line would be made of two points and the tilted line would also be two points making a total of 3 points and 2 segments. The second segment would be rotated about the z axis to lean 4d degrees to the right . Any ideas on how to achieve this?
Thanks,
Shawn