Lock-on Help

Hi,
I would like something to lock-on to another. For example one object will rotate a certain amount of degrees to face another at the press of a button. How can I do this?

Hi,
this can easily be done with an edit object actuator set to track to.

If you want to do it with python you need use some trigonometry and the .setOrientation() function.

If you are doing it with python say so and I will go more in depth.

Seeing as I dont know Python I will try the other method.