<span id="goog_81559155"></span><span id="goog_81559156"></span><a href="/"></a>So,<div><br>Benoit Bolsee added support for controlling armatures in the BGE like you can read in [1]<br><br><div>The individual bones in the BGE are called &#39;channels&#39; and you can find their API in [2]. You can get these channels trough the BGE armature object, with BL_ArmatureObject.channels [3]. You can read and write the joint rotation values with the BL_ArmatureChannel.joint_rotation attribute [4]. Don&#39;t forget to call BL_ArmatureObject.update() [5] after you have set the joint rotation.</div>
<div><br></div><div>If you have an active IK constraint on a bone, be sure to remove this. Because this wil reset the joint_rotation values.</div><div><br></div><div>This all is for Blender 2.5.., I don&#39;t know if it&#39;s possible to move individual bones in the BGE in lower versions of Blender.</div>
<div><br></div><div>Greetings,</div><div>Peter<br><br></div><div>[1] <a href="http://lists.blender.org/pipermail/robotics/2009-September/000114.html">http://lists.blender.org/pipermail/robotics/2009-September/000114.html</a></div>
<meta charset="utf-8"><div>[2] <a href="http://www.blender.org/documentation/blender_python_api_2_57_release/bge.types.html#bge.types.BL_ArmatureChannel">http://www.blender.org/documentation/blender_python_api_2_57_release/bge.types.html#bge.types.BL_ArmatureChannel</a></div>
<meta charset="utf-8"><div>[3] <a href="http://www.blender.org/documentation/blender_python_api_2_58_release/bge.types.html#bge.types.BL_ArmatureObject.channels">http://www.blender.org/documentation/blender_python_api_2_58_release/bge.types.html#bge.types.BL_ArmatureObject.channels</a></div>
<meta charset="utf-8"><div>[4] <a href="http://www.blender.org/documentation/blender_python_api_2_57_release/bge.types.html#bge.types.BL_ArmatureChannel.joint_rotation">http://www.blender.org/documentation/blender_python_api_2_57_release/bge.types.html#bge.types.BL_ArmatureChannel.joint_rotation</a></div>
<div>[5] <a href="http://www.blender.org/documentation/blender_python_api_2_58_release/bge.types.html#bge.types.BL_ArmatureObject.update">http://www.blender.org/documentation/blender_python_api_2_58_release/bge.types.html#bge.types.BL_ArmatureObject.update</a></div>
</div>