Copy Rotation Constraint in BGE

Hi, i need to use Copy Rotation Constraint in BGE, how I can do it? It’s possible? If not, then how to do that “children” object is not rotated with his “parent”.
P.S. Sorry for my english, I used Google Translator

copy rotation works fine for armatures

you will need to use

always------and---------run armature

or

condition changes-------and---------run armature

for non armature

import bge
cont =bge.logic.getCurrentController()
own =cont.owner
if 'TargetObject' not in own:
    own['TargetObject']=bge.logic.getCurrentScene().objects['NameOfTarget']
else:
    own.worldOrientation=own['TargetObject'].worldOrientation

copy rotation works fine for armatures

you will need to use

always------and---------run armature

It’s working. Thanks a lot