Skip to content

OrbitControls are framerate dependent #26471

@Issung

Description

@Issung

Description

The OrbitControl provided with three.js is framerate dependent.
Running at 30fps will spin half as fast at 60fps for example.
This can be accounted for by taking into account the time between frames.

Reproduction steps

  1. Make a default scene with OrbitControls and autoRotate.
  2. Limit the FPS to different amounts and observe the rotation effect.

Code

// code goes here

Live example

jsfiddle

Screenshots

No response

Version

latest

Device

Desktop, Mobile, Headset

Browser

Chrome, Firefox, Safari, Edge

OS

Windows, MacOS, Linux, Android, iOS

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions