Request animation frame and optimization

Hi, my game is running slow so I am looking at various optimizations. When looking into the various profiling data etc one thing that comes up all the time at the top of the list of fps eaters is ‘request animation frame’ and things like ‘Animation Frame 4205 fired’.

My game has no animations, so I am assuming this is just something that I cant control as its part of the Playcanvas engine, or is something darker at work here that has slipped through the net?

Hi @Grimmy!

I think it’s normal, because I see that in my project too and my project is not running slow. (I do use animations).

It will be nice if someone can clarify what it does and if it can be improved.

1 Like