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

Use rotation from globe anchor in CesiumFlyToController #429

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

azrogers
Copy link
Contributor

@azrogers azrogers commented Mar 5, 2024

Something that got overlooked in changing CesiumFlyToController to be able to use a parent CesiumGlobeAnchor. Instead of using the local transform, we want to use the rotation of whatever transform the CesiumGlobeAnchor is attached to for the source rotation on our flight, since this is the object that the rotation is going to be applied to as it flies.

@j9liu
Copy link
Contributor

j9liu commented Mar 14, 2024

Sorry for the very late, completely out-of-context post, but what was the reason for the change to use a parent? Is there a reason you can't use a CesiumFlyToController on a parent object? In other words, why would a parent be anchored, when the child object would be the one flying?

@j9liu
Copy link
Contributor

j9liu commented Mar 14, 2024

Ignore the above. We talked about this offline and I opened #434 for it.

@j9liu j9liu merged commit e8b53a3 into main Mar 19, 2024
6 checks passed
@j9liu j9liu deleted the use-globe-anchor-rotation branch March 19, 2024 20:37
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

Successfully merging this pull request may close these issues.

None yet

2 participants