Announcement

Collapse
No announcement yet.

Moving mesh with camera

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Moving mesh with camera

    I've encountered a problem with a pretty basic thing.

    I need to move a large planar mesh with the camera, however the mesh needs to stay world-aligned and needs to snap to a certain grid. Applying a straightforward logic of Getting camera world location->rounding to the grid-> Setting world location for the mesh results in a jittery movement.

    In a code, I would simply use late update, but with blueprints I'm frankly stuck. Any clean way of achieving what is required in blueprints only ?

    #2
    Do you think that that the jittery movement is caused by float precision error?

    Have you tried adjusting the TickGroup of the object responsible for the moving?

    Comment


      #3
      Do you think that that the jittery movement is caused by float precision error?
      The cause is discrepancy of camera position between game and render thread.

      Have you tried adjusting the TickGroup of the object responsible for the moving?
      No effect.

      Comment

      Working...
      X