Skip to content

Add support for floating origins using deltas in sync plugin #697

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

austincummings
Copy link
Contributor

Objective

  • Update the SyncPlugin to be compatible with floating origin plugins like big_space

Solution

  • Use position deltas in the SyncPlugin to update transform translation

Creating this as a draft to discuss the change since I'm not sure if I broke hierarchy's in this. All the demos seem to work though so...!

Alternatively I was thinking there could be another config option in SyncConfig like use_delta_transforms that would call a different position_to_transform_with_deltas to trigger this functionality.

@austincummings
Copy link
Contributor Author

Looks like this may not be needed with https://github.com/Jondolf/bevy_transform_interpolation/tree/bevy-0.15-smooth-teleports.

But figured I'd submit my solution anyway even if it's not the preferred way to do it. :)

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.

1 participant