Physics Support

- NEW CRATE: raidillon_physics.
- Added new models to be able to test the physics support.
- Added a new system "PhysicsSystem" to apply physics calculations to the ECS world.
- NEW COMPONENT: RigidBodyComponent
This commit is contained in:
reo 2025-10-19 17:40:51 +03:00
parent 4b97bd98d2
commit db1b427e2a
13 changed files with 697 additions and 43 deletions

View file

@ -6,3 +6,4 @@ edition = "2024"
[dependencies]
glam = "0.30.5"
raidillon_assets = { path = "../asset" }
rapier3d = "0.30.1"

View file

@ -15,3 +15,6 @@ impl Transform {
}
pub struct ModelHandle(pub ModelID);
#[derive(Copy, Clone)]
pub struct RigidBodyComponent(pub rapier3d::dynamics::RigidBodyHandle);