I know the start and end points of a line, but can't figure out how to place a part alone it using vb.net. For example, the line is from (0,0,0)-(1,1,1)
For the oMatrix, I can translation to the start point, but how to calculate the rotation angle? The yaw angle can be the rotation angle about Z axis. From the pitch angle, could I get the rotation angle about X axis & Y axis?
Thanks for help
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register