camera-controls icon indicating copy to clipboard operation
camera-controls copied to clipboard

.azimuthRotateSpeed .polarRotateSpeed has no effect on .rotate() method

Open 1337jick opened this issue 6 months ago • 1 comments

Describe the bug

Hi, ty for great product!

Whatever speed Im setting

        this.cameraControls.azimuthRotateSpeed = 2;
        this.cameraControls.polarRotateSpeed = 2;

It has no effect on this.cameraControls.rotate(this.mouse.x, this.mouse.y, true );

Speed changes only when dragging with mouse while .enabled === true

To Reproduce

Steps to reproduce the behavior:

  1. Set this.cameraControls.azimuthRotateSpeed = 2;
  2. Fire this.cameraControls.rotate(ANY_NUMBER, 0, true )
  3. See speed equal to .smoothTime speed

Code

No response

Live example

No response

Expected behavior

Speed for .rotate() when enableTransition === true is equal to .azimuthRotateSpeed .polarRotateSpeed settings

Screenshots or Video

No response

Device

No response

OS

No response

Browser

No response

1337jick avatar Aug 02 '24 12:08 1337jick