Is there a way for me to copy the oriuentation of an object in blender game to another while the game is active?
Api reference localOrientation

from bge import logic

scene = logic.getCurrentScene()
own = logic.getCurrentController().owner # Cube.001
obj = scene.objects["Cube"]
print("obj",obj.localOrientation)
print("obj",obj.localOrientation.to_euler())
print("own",own.localOrientation)
print("own",own.localOrientation.to_euler())
obj.localOrientation = own.localOrientation
print("obj",obj.localOrientation)
print("obj",obj.localOrientation.to_euler())
print("own",own.localOrientation)
print("own",own.localOrientation.to_euler())