Hi,
I use the camerachanged-event to trigger a compass, but when I rotate with roll=0 nothing happend
There are issues concerning this topic
opened 01:43PM - 04 Mar 21 UTC
type - bug
good first issue
category - camera
When camera.roll = 0, the camera.changed event doesn't fire when changes only oc… cur to the heading. e.g. if the user is looking down and rotates the camera. This causes issues with our compass not updating.
Sandcastle example:
Try the rotate buttons in the sandcastle below, you'll see that the camera.changed event is fired only when the roll =/= 0:
[Sandcastle](https://sandcastle.cesium.com/#c=zVVNbxoxEP0rIy7dVZYFDj0UCGqLUqVSolYEtVK1F+MdWAtjI9tAaZX/3vHaJNBAo0SK0tt6Pt68Gb8dr5mBtcANGjgHhRsYohWrRf6ttiVFg9fnoVaOCYWmaKS9QhWKa2UdcLZAwygzQOThTAHhI1+i4UiZMxxWTM2wpNB23n5bQ7Ra8F1ICUo7mAqDsKlQwUiTSVhoF0qiAycWaD+Rt04NpQM2D4g5K8uLNRW5Etah8pwVQBIrx7IpnA/gt3fAHuLZWS+YSs1XC4rOZ+guJPrPj9vPJXXveZXUcy4UQV+Or6+Ixj3Co/kVslKo2d8IsYXofRRlKRyvTmDUvkcRDE31BIB31fm3hUp3FzNC64df4X4UOA1tKNQ/yvg0X+fhpTS4FHxeNDJI7m8jglOS11sSb2iprXBCq+5dj9GQQQjQRnhVhZg90V6GeX71I/E6StrZznXNXJU7PaIApmzSfNdOM2indd9pj3Bv0wNR1oI8VBqg7wi0ktsgVROkqt44r9bTU5E4fcZQpnI71ruRlGidUOz4VJ44lEPxQRM62YGYsv07T7M4ohedkBGz6j8e0dkTR9TIGn3rthIHoS7Ae7FYauNgZWSS5y2Hi6VkDm1rsuJzdDm3No0/cb+1n9ovxRpEeX5kEQOXzFryTFdS3ohfWDQG/RbFP0iVuu7jyxqNZFsfVnUGV8GY53m/RcfjmU5rOWFU7K6T2lczJPeE8fnM6JUqm1xLbbowkWTqwZRoNi1x6kLH4KIHE21KJH9n+ROslqIkgQiHPUIe+3UK9T7twq7MPom4hA8o+jkdnibmBTlGhRznd7fkX5NhLd7j/OLz8Zrs/F91nFx4mZ7AbbJyTquYHN6bwQ09VqP4Qv1AoymjjjoBcRIvbGpiS0sCYSg1n2+ExefCxbW2w/ugnGieAt1v+Q8)
Rotating with the middle mouse button will cause the changed event not to be fired, as expected. The rotate buttons are there for convenience.
Assuming this is related to #9365
Browser:
Chrome: Version 88.0.4324.190
Operating System:
Windows 10
Version: 1803
OS build: 17134.1304
Thanks,
Tom
opened 09:36PM - 03 Feb 21 UTC
type - enhancement
good first issue
category - camera
I have been using `Camera.changed` when the position/orientation of the camera c… hanges but it seems that both `Camera.twistLeft(amount)` and `Camera.twistRight(amount)` don't trigger an event (though it seems like it may rarely?).
The twist command doesn't change the position of the camera, only the orientation (from what I understand). Even though `Camera.changed` doesn't specifically mention if it only triggers on camera position change or both camera position and orientation change, `Shift + Click + Drag` (to my knowledge) only changes the camera orientation yet still triggers `Camera.changed`.
`Camera.twistLeft(amount)` and `Camera.twistRight(amount)` don't appear in the CHANGELOG but `Camera.changed` has been around for a while (Released as part of 1.23) so my thought was maybe it was introduced after the `Camera.changed` work was done?
Just wanted to verify this was a bug and not intended functionality.
Sandcastle example: https://sandcastle.cesium.com/#c=bVNBbtswEPzKQhcrQErJ11Y2mjoJUMBAgbjpSRdG3MiEKa5KUhLcon8vKSWOLVo3zszODJZizw30Egc0sAKNA2zQyq5hv0YsLZNqPG9IOy41mjK5+VLqUmcZ7NA5qWto0VTo6Ro3e65rFGAJNEFDPTaeALc3aPekhAVuEAz+7qRBMZrc6SNUvEHDP/Re2ynh4c4icFBUl3rqyCYpiyNXkJ/1gq6FzeQ6CWArrcPQf+ZUTfOMC/HQe8t3XZrewGoNf0sNUJG2pJD5IuniwlYswjb+nVayMcgdzqLvKifJ84PUggZm0X3XDk3P1XnIZS03+B5Pst67NGf5cky5hWWen6KeHnbP25+7z+NBER3uadDwCQYyB3sCt/jqInD0jdDn9gIKt/GNV4eBGxERUVYAH8lcFUcdAhh3COisgyHn1xmFTXBkO8Gx8YTPrMcFv1kIQqsXbmQ/yHejcza5TQrrjgrX4crC91U2LRn/wxmVMpY5bFrl02z20lUHdKyyNlxZkBbZ+WghZA9SrK68MKgUt9Yzr51SO/kHy2RdZF4fjSriwj/BHz0axY9Btl+utxPIGCsyf7w+6YjUCzcz5/8
Browser: Chrome 88, Firefox 82
Operating System: Windows 10
Is there a solution planned ?
Rüdiger
Hi,
do you have any news concernung the events ?
Rüdiger
Hi @Ruediger_Brand
Thank you for bringing this to our attention again. As you know, we have an overwhelming inbound of issue that we need to address. Sadly, I am not able to give you a specific timeline for when this will be resolved.
-Sam