I have an object in the center that "points" to objects around it. I wish to be able to click left or right buttons on the keyboard and have the object rotate (visibly, slowly, and smoothly) exactly 36 degrees using python.
How can I do this? I've seen stuff with sine or cosine and elapsed time but nothing that I can understand well enough to adapt to my needs.
I had this working using Action Actuators and since I want to be able to rotate clockwise and counterclockwise to point to 10 different objects, there were 21 different actuators. I would like to learn to do this with python instead.
Thank you, Zach