Camera world location lags

When I get camera world location it lags behind what the camera is actually doing if you use like a static mesh and use some offset from the camera the mesh lags behind the camera movement, if you use the player character mesh world location it works great… I’ve tried lots of stuff to see what is happening but anything associated with the camera world location at all lags… it’s probably really simple but I haven’t found it yet

Thanks

1 Like

what camera are you using?

possible reasons why it lags:

  1. third-person cam on spring arm has location lag as setting,so that you get more smooth movement, maybe you have that active
  2. Camer position is updated

a.) PrePhysics tick from the player controller and in the PostPhysicsTick


b.) from the spring arm in thevPostPhysicsTick


c) from camera modifiers at the end of level tick

depending on when you draw you might not get the latest position but a position before it gets changed by something else

sorry that’s the best I can do with the formatting markup language here

Thanks for the suggestions :slight_smile: