Skip to content

Sanic noticeably jiggles while moving when there is frame lag #2

@bdero

Description

@bdero

It's hard to tell if it's the camera or Sanic causing the visual choppy position jumping. It looks like we're applying delta correctly in most places, but we aren't always doing the right type of interpolation.

For instance, the camera movement is done with linear interpolation with the weight as a factor of delta time, but it really should be asymptotic interpolation. I don't think there are functions in Godot for it, so we should maybe make a global utility script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions