bevy_xpbd icon indicating copy to clipboard operation
bevy_xpbd copied to clipboard

2D and 3D physics engine based on Extended Position Based Dynamics for Bevy.

Results 231 bevy_xpbd issues
Sort by recently updated
recently updated
newest added
trafficstars

I am trying to achieve deterministic networking with avian to avoid having any rollbacks. I noticed that things work correctly when I replicate Position/Rotation and then sync them to transform...

Rapier stores world-space angular inertia as the square root of the inverse angular inertia tensor, `effective_world_inv_inertia_sqrt`. Avian and most other physics engines on the other hand just store the inverse...

C-Enhancement
A-Dynamics
D-Complex

[Ghost collisions](https://box2d.org/posts/2020/06/ghost-collisions/) are a very common and frustrating problem in game physics. A common case where they may occur is when an object is sliding along a seemingly smooth surface...

C-Feature
A-Collision

## Cargo.toml ```toml [package] name = "demo-01" version = "0.1.0" edition = "2021" [dependencies] bevy = { version = "0.15.0" } bevy_dev_tools = "0.15.0" bevy_window = "0.15.0" bevy_diagnostic = "0.15.0"...

Was working on cleaning up some entities today and encountered some odd behavior when I removed all the children of my Kinematic Entity that is controlled by the user. For...

Rigidbodies seem to squash and bounce off other bodies despite restitution being disabled on everything. Increasing the density exacerbates this. Here's a somewhat extreme example, where the yellow cube is...

A-Dynamics

This is a difficult one to explain! Avian 0.1.2 2D. I am attaching this collider to a rigid body and sprite: ```rust Collider::compound(vec![( Position(Vec2::new(0., 19.)), Rotation::default(), Collider::capsule(12., 12.), )]) ```...

Currently, Avian applies friction at every contact point. A common optimization for 3D friction is to only apply friction at the center of each contact manifold, weighing the points based...

C-Performance
A-Dynamics

The [draw_shapecast](https://github.com/Jondolf/avian/blob/ba8821976d3dcb23c76778c4b8ba3e0687c0db21/src/debug_render/mod.rs#L462) call in the debug render on the main branch (as linked here) seems to have strange behavior when the [max_distance](https://github.com/Jondolf/avian/blob/ba8821976d3dcb23c76778c4b8ba3e0687c0db21/src/debug_render/gizmos.rs#L513) scalar is greater than about 10,000. (the current...

**Simulation Islands** are a fundamental low-level performance optimization feature for physics simulations. They can have a massive impact on solver design and performance, both for single-threaded and multi-threaded applications. ##...

C-Performance
A-Dynamics
D-Complex