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
4b97bd98d2
commit
db1b427e2a
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