Hello, i am using the 'rotate.By' method from the MVector class. all i want to know is how can i make the angle that is used in the calculation become negative. so the vector that is returned after it is rotated by the given axis is in the opposite direction eg
rot_1 = rot1.rotateBy(rotate_by_axis, math.radians(angle[3])) rot_1 = rot1.rotateBy(rotate_by_axis, math.radians(-angle[3])) the second one has a minus before the angle. I assumed this would rotate the other way but just generates the same vector. Does anyone know how to rotate in the opposite direction? thanks, Sam -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/12db4a47-39b0-4cb1-8e38-17b8256f57d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
