I wish just made copy location and copy rotation from one object to a armature pose bone but dont know.

If possible help me and tell if work bpy with runtime game for this.

In this code please look i think need just known how change mathutils object vector to target vector

```
import bge
import math
from math import *
import mathutils
t = 0
def rotate():
global t
# Get the whole bge scene
scene = bge.logic.getCurrentScene()
# Helper vars for convenience
source = scene.objects
# Get the whole Armature
main_arm = source.get('Armature')
ob = bge.logic.getCurrentController().owner
x = math.sin(t)
ob.channels['Bone.000'].joint_rotation = mathutils.Vector([0,0,math.tanh(-x)])
ob.channels['Bone.001'].joint_rotation = mathutils.Vector([0,0,math.tanh(x)])
ob.channels['Bone.002'].joint_rotation = mathutils.Vector([0,math.tanh(x),0])
ob.update()
```

for mesh follow the bone with weight p.

If you know how please help

Thanks