You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to update the CameraControls libray from v1.28.4 to v1.33.0 on my project and I realized that I'm not receiving the 'originalEvent: event' from the CameraControlsEvent 'control' anymore.
I need these original MouseEvent and WheelEvent in my Navigation logics to do some tasks on 'control' event, so for now, I cannot update the library.
Any particular reason why your decided to stop dispatching these original events?
Sorry for the change and thanks for using the lib.
I didn't think orgialEvents are used...(also it was undocumented)
We could reprvode the original events, however as you pointed out, the events to listen has been changed to PointerEvents and are slightly different from MouseEvents.
Could I hear about your use case?
There may be another solution...?
I Yomotsu!
I try to update the CameraControls libray from v1.28.4 to v1.33.0 on my project and I realized that I'm not receiving the 'originalEvent: event' from the CameraControlsEvent 'control' anymore.
I need these original MouseEvent and WheelEvent in my Navigation logics to do some tasks on 'control' event, so for now, I cannot update the library.
Any particular reason why your decided to stop dispatching these original events?
this.dispatchEvent( {
type: 'control',
originalEvent: event,
} );
Can you please giving back this event to your dispatch call?
FYI, the changes comes from this Pull Request: #197
By the ways, Thanks for this great camera controls library! :)
The text was updated successfully, but these errors were encountered: