开发者

Keyboard Control on characters made with Adobe CS4 Bone Tool?

Is there any way to control a character made 开发者_如何学Pythonwith Adobe CS4 Bone Tool via keyboard buttons? Its limbs are linked up by IK chains built by Bone Tool.


import fl.ik.*;

use

IKArmature IKBone IKJoint IKMover


addEventListener(keyboardEvent.KEY_DOWN, keyDownHandler);

function keyDownHandler(event:Event){

    if (event.keyCode == Keyboard.UP)
    {
      // do your magic with IKMover moveTo() method
    }

}

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜