I did a small simulation using ridig bodies. I would like to write (possibly to a file) the location of each object for a specified frame. Objects are spheres with different radii.
Is it possible?
I found a small script to print the location on the command line, but it doesn't seem to work:
sphere=bpy.data.objects['Sphere01'] bpy.context.scene.frame_set(50) print(sphere.location)
It always returns the location corresponding to the initial frame (start).