Get world location of constraint of ragdoll

I have ragdoll composed of constraint components and simple cubes. When I try to get the world location of a specific constraint, it only gives the starting world position, but not the actual world position after physics simulation (rag dolling).

Is there a way to get the updated world position of constraints during physics simulation?