Collisions with DragonBones animations

Hi, i am using dragonbones to make skeletal animations. I’ve imported the swordsman data into my cocos proyect and now, i want to make that the attack animation generates collisions with another game character.

I have created a bounding box in dragonbones and I have created a phyisic polygon body with box2d, i linked the CCarmatureDisplay object as a userdata and i’ve got move my armature in my physics world applying forces and gravity. The problem is that i also need that the body be moved with the animacion so when the swordsman attack, its hits can generate a collision with another physic body.

I have used the body->SetTransform() metod but the bodies don’t collide, that’s because the body is frecuently updating its coordinates and when the collision occurs it tries to react according to but the position is inmediatly updated.

I need some idea, about how can i detect collisions from an skeletal animation made with dragonbones, i need it for a dynamic fighting game.
Thanks in advance!:grinning:.