| Crates.io | bevy_newton |
| lib.rs | bevy_newton |
| version | 0.0.1 |
| created_at | 2025-03-21 10:30:52.748899+00 |
| updated_at | 2025-03-21 10:30:52.748899+00 |
| description | Real-time physics engine for Bevy engine |
| homepage | |
| repository | https://github.com/VitalyAnkh/bevy_newton |
| max_upload_size | |
| id | 1600360 |
| size | 125,890 |
A feature-rich Newtonian physics engine natively integrated with the Bevy game engine.
Add to your Cargo.toml:
[dependencies]
bevy_newton = "0.1"
use bevy::prelude::*;
use bevy_newton::prelude::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(PhysicsPlugin::default())
.add_systems(Startup, setup)
.run();
}
| Feature | Description | Default |
|---|---|---|
3d |
Enable 3D physics | Yes |
2d |
Simplified 2D physics | Yes |
collision |
Advanced collision features | Yes |
debug |
Visualization tools | No |
serialize |
Component serialization | No |
Benchmarks (Intel i9-13900K @ 5.8GHz):
| Scenario | Entities | Time/Frame |
|---|---|---|
| Simple Collision | 1,000 | 0.8ms |
| Complex Constraints | 500 | 1.2ms |
| Raycasting (100 rays) | - | 0.3ms |
We welcome contributions! Please see our Contribution Guide for details.
Dual-licensed under either:
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual-licensed as above, without any additional terms or conditions.