Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1337jick opened this issue Aug 2, 2024 · 1 comment
Open

Comments

@1337jick
Copy link

1337jick commented Aug 2, 2024

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

@yomotsu
Copy link
Owner

yomotsu commented Aug 17, 2024

Sorry for the confusion.
The azimuthRotateSpeed parameter controls the speed intensity during mouse or touch dragging, and it does not affect the rotation methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants