camera-controls
camera-controls copied to clipboard
.azimuthRotateSpeed .polarRotateSpeed has no effect on .rotate() method
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:
- Set this.cameraControls.azimuthRotateSpeed = 2;
- Fire this.cameraControls.rotate(ANY_NUMBER, 0, true )
- 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