THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/03/2004 at 21:00, xxxxxxxx wrote:
Cinema 4D Version: 8.500
Platform: Mac OSX ;
Language(s) : XPRESSO ;
Using Xpresso, I have a calculated matrix and a calculated angle. What I want to do is rotate the matrix around only one of its axes by the angle, then transfer the matrix to an object. I tried transfering the original calculated matrix to the object and then rotating the object by inputing values into HPB ports, but that doesn't seem to work.
On 05/03/2004 at 23:12, xxxxxxxx wrote:
Again, nevermind. I figured out a way to do it. I calculated another matrix like the first one but with the X and Z vectors transposed and the X inverted which gave me a matrix that was rotated 90 degrees about the Y axis from the first matrix. Then I plugged the calculated angle into a range mapper (0 to 90 = 0 to 1) and fed that value into a Mix node with both matrices and the result of that into the Global Matrix of the object. It worked (although there must be an easier way).