Bug? Armature Constraint doesn't work with script?

I have a Copy Rotation and Copy Location bone constraint, I left the targets empty so I can change the targets via script.


But when I start the game, it doesn’t work. I get no errors in the console, so what’s the problem?

I can change actuator targets via script on any other actuator. Are the armature constraint actuators just broken?

Blend File here:
Constraint_Target_Problem.blend (512 KB)

Constraint_Target_Problem.blend (512 KB)

seems it works like that

(edit: press a/d to change target)

Thanks! :slight_smile: Even a little different wording of coding makes a difference I guess.

nono i set a target for the bone in the editor before you start the game and then changed it during the game, (you left it blank) that made the difference