-
Notifications
You must be signed in to change notification settings - Fork 0
Replace Rapier with Avian #73
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
base: main
Are you sure you want to change the base?
Conversation
| pub use bevy::transform::components::Transform; | ||
| pub use bevy::window::*; | ||
|
|
||
| pub use avian3d::prelude::*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prelude 🤤
| mut timer: ResMut<terrain_resources::WorldSaveTimer>, | ||
| ) { | ||
| if timer.is_ready() { | ||
| timer.reset(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a side quest.
During the saving of a world you'd get
Saving world...
Saving world...
Saving world...
Saving world...
Saving world...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't seem to happen before..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe my setup changed?
Rapier → Avian
bevy_firework Is a wonderful crate.
I'd love to do some particle physics but the current Physcis Backend is not supported, hence the migration.
bevy_hanabi has superior GPU performance but doesn't know about the physical world so it is a little booring for what I have planned, maybe I'll combine the two in the future to get the best of both worlds (physics and raw GPU power).
Montage during migration
Colliders need to be twice as large in Avian:
Not setting colliders to static leads to only the top face being collidable?
Every block basically acts like a ladder
CleanShot.2026-02-02.at.21.04.15.mp4
Bevy fps controller doesn't set Y-offset by default, leading to the player collider getting stuck on basically thin air
CleanShot.2026-02-02.at.21.29.05.mp4
Excerpt from Avian itself
Changes
After migrating to Avian I noticed severe