Skip to content

Changing camera position and rotation causing vibration/stuttering #293

@kajumito

Description

@kajumito

When changing camera position, and rotation same time I'm getting weird vibration / stuttering in objects around.

This started happening after I updated packages. I did some debugging, and found out that updating use-cannon from v0.5.4 -> v0.5.5 causes this issue or atleast made it more visible. Also after this update velocity to useSphere changes, and movement is lot slower.

Smoother with old packages (first part of the video): https://codesandbox.io/s/minecraft-old-packages-forked-fv5wm
Stuttering with updated packages (latter part of the video): https://codesandbox.io/s/minecraft-new-packages-b5efn

Screen.Recording.2021-10-26.at.20.48.02.mov

After some testing I saw that there is small stuttering on older packages aswell, but it's lot harder to spot.

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