spazzmonkeys
07-18-2008, 08:38 AM
Hi, I'm trying to flip the x and the y values of an animation curve in maya. That is, I want to run information through a curve backwards (using the curve.output channel as the input). The information only needs to be queried, so it could be done with a calculation. I've tried my hand at this for quite some time now with no success. If anyone has any ideas, please let me know!
Right now I'm trying to make a duplicate curve and rebuild that backwards. The only problem with that is reversing the tangent angles: something that appears to be beyond me. The tangent angles returned from the keyTangent command seem to be degrees at first glance, however they do not change in a linear fashion. So I don't understand how to get them into a predictable unit I understand and convert them back again.
Right now I'm trying to make a duplicate curve and rebuild that backwards. The only problem with that is reversing the tangent angles: something that appears to be beyond me. The tangent angles returned from the keyTangent command seem to be degrees at first glance, however they do not change in a linear fashion. So I don't understand how to get them into a predictable unit I understand and convert them back again.
