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:
parent
d280a0b9a5
commit
8b5a6167eb
13 changed files with 697 additions and 43 deletions
|
|
@ -15,3 +15,6 @@ impl Transform {
|
|||
}
|
||||
|
||||
pub struct ModelHandle(pub ModelID);
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct RigidBodyComponent(pub rapier3d::dynamics::RigidBodyHandle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue