Need an event at start of frame, EVERY frame

I have a question regarding the order of events in the game loop.

I want to do my own simulation of physics (sort of, partially), so I want to run a function at a particular point in the game loop. It is my understanding that the following events take place in the following order:

(1) input events
(2) animation update
(3) thread safe animation update
(4) animation
(5) Actor’s tick

I am not clear on where the physics actually calculates in this list. If anyone can explain how it fits into the list, I would appreciate it.

For what I want to do, I want to use the (2) animation update to run the Actor’s function that does some calculations, then let the (3) thread safe animation update do the rest of the animation prepping in a more thread optimized fashion. But I also want to run another Actor’s function during (1), even when there is no user input. Any event that i can fire at the start of each frame would be the best, but I don’t know what type of event would work for this.

Can anyone tell me how to fire an event at the start of a frame for every frame reliably?

EDIT: It would seem that the physics always occurs after (4) animation, but that we can choose if it comes before or after (5) Actor’s tick. Is this correct?

So I did some additional testing of the Actor’s Tick and this is what I found.

The order of events:

(1) Input
(2) Animation Update
(3) Thread Safe Animation Update
(4) Tick [Pre Physics]
(5) Physics
(6) Tick [During or Post Physics]
(7) Timer per Frame
(8) Tick [Post Update Work]

I don’t see any events that regularly run prior to Animation Update. Also, it isn’t clear when the animation is actually ran, because the Animation Updates run prior to the actual Animation graph and rig control. At this point I assume animations run between (3) & (4).

The docs say:

But if you look carefully, it says PrePhysics runs at the Beginning of the frame. This is not true. It runs before the physics, but well after inputs and animation update functions. It could be that it runs before animation as well.

But I need an event every frame before (2). Anyone know how to do this, I would appreciate some tips.

EDIT: Post Eval Animation occurs between (4) & (6), but it isn’t clear if it is before, during, or in tandem with physics.