Entity keeps lagging behind camera #683
Replies: 2 comments
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2019-08-25 01:11:08
User: CalvinMT [] (age: 1451 days 🔥; posts: 114)
Hi!
The entity which the player controls and on which the camera is focused on keeps lagging behind the camera. Its kind of a jigger lag. Here's an example:
~~
Although this has been mentioned ~~~~in this post, I did not entirely understand steffen's response ("attach your logic to update the camera to the render loop"). I tried writing ~~
~~camera.update()
in an overrided ~~~~render
method but nothing changes.Is this it or does it need to be done differently?
Beta Was this translation helpful? Give feedback.
All reactions