I’m trying to run an empty down a path, and I need to check it’s position at each frame via script. It is no problem checking it’s global position on the frame I’m at, but when I execute a script that jumps to another frame, no animation data is updated.
Thanks to BA, I know how to update an f-curve, but the path animation doesn’t seem to be an action.
I tried scene.update(), I tried update_ID_tag for both object and scene, nothing seems to work.
So in short:
Is there a way to make an object follow a path and check it’s global position on several frames using script?