@Override
    public void onAction(String binding, boolean value, float tpf) {
        if (value && binding.equals("Attack")
                && control.getCurrentAction() != punchesOnce) {
            control.setCurrentAction("PunchesOnce");
        }
    }
Simple application to test an attachments node on the Jaime model.

Derived from {@link jme3test.model.anim.TestOgreAnim}.
jme3-examples/src/main/java/jme3test/model/anim/TestAttachmentsNode.java