Page MenuHome

Python controlled armature animation not working in BGE
Closed, ResolvedPublic

Description

System Information
Windows 7 64, Windows 8.1, various Nvidia GTX

Blender Version
Broken: 2.71, 2.72
Worked: 2.70a

An armature is used to control a mesh in the BGE. Vertex weights, parenting correct etc. Python is used to move the armature bones, e.g.

GD.CS.objects["Armature"].channels["Bone.001"].joint_rotation=Vector([GD.val,0,0])

The mesh moves in 2.70a but not in later versions. An object parented to a bone moves correctly.

To reproduce load the attached test file and press p in the 3d view to run the game engine.

Suspect may be due to the change to multi-threaded animation in the BGE

Thanks!