Collision and fall animation problems

i have a problem with collision and fall animation.
When i set a box as a parent on my armature(always -and -parent: box.collision)
the fall animation doesn’t work but for some reason when i don’t put the box as my character collision it works(but after i have problems with the collision)
here are the logic bricks that i use for the fall animation;
Collison (property: platform,invert) - and - action:fall
Collison (property: platform) - and - action:idle

Is your character a collision object as well as the collision box?

no it is static_ghost

setting it to no collision will allow for better performance, and I’m not sure but this might also fix your problem.

ok,thank you