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

Readd - TimeStepMode to rapier configuration. #621

Closed
Sirmadeira opened this issue Jan 8, 2025 · 4 comments
Closed

Readd - TimeStepMode to rapier configuration. #621

Sirmadeira opened this issue Jan 8, 2025 · 4 comments

Comments

@Sirmadeira
Copy link

Sirmadeira commented Jan 8, 2025

I opened this issue because I noticed that in 0.28 update, we lost TimeStepMode in RapierConfiguration. Since I am not sure ether this is supposed to happen or not I am just gonna leave it as an issue for now and them make a PR.
Nonetheless this will cause this warning all the time for those who use fixed schedule, and I have no idea on how to fix it.

Located here

@Vrixyz
Copy link
Contributor

Vrixyz commented Jan 9, 2025

TimeStepMode is now an independent resource: https://docs.rs/bevy_rapier2d/0.28.0/bevy_rapier2d/plugin/enum.TimestepMode.html

@Sirmadeira
Copy link
Author

Sirmadeira commented Jan 9, 2025 via email

@Vrixyz
Copy link
Contributor

Vrixyz commented Jan 9, 2025

The warning is emitted at the plugin build ; you can avoid it by setting your timestep resource before adding the physics plugin.

@Sirmadeira
Copy link
Author

Or mid plugin built right? I guess I could do that.

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

No branches or pull requests

2 participants