I'm making simulation in blender for rigid body. I need object location in the current frame. I use following command
but this command returns the location corresponding to the initial frame. Neither changes object location in Location panel during simulation. I know I can bake rigid body transformations to keyframes but I need another way to get location of object because baking takes long time for multiple objects. Is there any other command which can print object location after transformation without baking?