# Manual camera animation - lagging issues

**URL:** <https://forum.playcanvas.com/t/manual-camera-animation-lagging-issues/24333>\
**Category:** Help & Support\
**Created:** [February 13, 2022, 8:41am UTC](https://forum.playcanvas.com/t/manual-camera-animation-lagging-issues/24333 "2022-02-13T08:41:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vogloblinsky](https://forum.playcanvas.com/letter_avatar_proxy/v4/letter/v/77aa72/32.png) [@vogloblinsky](https://forum.playcanvas.com/u/vogloblinsky)\
**Post date:** [February 13, 2022, 8:41am UTC](https://forum.playcanvas.com/t/manual-camera-animation-lagging-issues/24333/1 "2022-02-13T08:41:52Z")

</div>

Hi,

I have a mobile game i’m working on where i have created a cool 3D environment thanks to your great editor, well done Playcanvas team for that !

[//forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/3X/8/a/8af49674bcce83e07f917040f37a155d0dadfb44.mp4](https://forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/3X/8/a/8af49674bcce83e07f917040f37a155d0dadfb44.mp4)
  
_Video example of the gameplay, not a rendering issue._

The issue i have is lagging rendering on mobile devices after some times. May be it is due to my implementation of custom rendering.

Before starting the launch, i have calculated the path with some math algorithm, and i put the main Playcanvas application in `autorender = false;`  
When the launch start, i update every frame, using requestanimationframe the position of the coin and the camera, and call `renderNextFrame = true;`  
All of that is done in an Angular application, using Playcanvas APIs.

Am i doing something wrong ?

Thanks for your time

---

<div class="post-metadata">

**Author:** ![Leonidas](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/leonidas/32/6495_2.png) [@Leonidas](https://forum.playcanvas.com/u/Leonidas)\
**Post date:** [February 13, 2022, 9:56am UTC](https://forum.playcanvas.com/t/manual-camera-animation-lagging-issues/24333/2 "2022-02-13T09:56:27Z")

</div>

Hi @vogloblinsky,

That’s interesting, that it happens only on mobile and after some time. Do you have a build link that can we test to see the kind of lagging?

In the meantime, have you tried instead of updating the renderer like that, to set autoRender to true when the launch starts and disable it on the PlayCanvas side when it finishes?
