# Get the whole bge scene
scene = bge.logic.getCurrentScene()
# Helper vars for convenience
source = scene.objects
# Get the whole Armature
main_arm = source.get('NAME OF YOUR ARMATURE')
main_arm.channels['NAME OF THE BONE YOU WANT TO ROTATE'].joint_rotation[ x, y ,z] # x,y,z = FLOAT VALUE
main_arm.update()
可能晚了一点,但对于blender>;=2.5,这应该可以做到:
我还在一个广泛的教程中写下了这一点,从这里开始:http://www.warp1337.com/content/blender-robotics-part-1-introduction-and-modelling
相关问题 更多 >
编程相关推荐