Is it possible to know if an object moves or not with python in Blender? Is there any object's attribute/state/other that gives this information?
EDIT: Here I speak of movement in world space. More precisely, if the world positions of the vertices of an object don't move between two frames, I consider the object doesn't move. If the camera moves but the objects don't, then their world positions shouldn't change and I consider they don't move.
I saw some answer using Blender Game Engine with an active object, but I just use a rigid solids simulation in Cycles. EDIT bis: My goal is to know when the objects in the simulation are in their final state basically.
Example: a wrecking ball breaks a stack of cubes. Some cubes fall, and after some time they stop sliding on the ground: the object's state should tell me that now they are "inactive". If they get hit by other falling cubes, then their state should change back to "active", until they "stabilize" again.