bevy_xpbd
bevy_xpbd copied to clipboard
2D and 3D physics engine based on Extended Position Based Dynamics for Bevy.
Currently, `SpatialQuery::shape_hits` and `SpatialQuery::shape_hits_callback` can compute multiple hits by performing multiple best-first traversals in a loop. At each iteration, the entity that was hit is added to the excluded entities...
Rigid bodies should rotate around their center of mass, not around their `Position`. Rotating around the `Position` is unrealistic in cases where the center of mass is offset, and it...
# Objective - I appreciate graphs from [`bevy_mod_debugdump`](https://github.com/jakobhellermann/bevy_mod_debugdump), this PR merely starts a discussion on adding some "first party" interest to such graphs. ## Solution - Add an example to...
## Versions bevy 0.13.2 bevy_xpbd_2d 0.4.2 ## Description It seems that the collider of a clockwise ordered `Triangle2D` doesn't register collisions with other polygons, such as triangles, rectangles, etc. ##...
## Versions bevy 0.13.2 bevy_xpbd_2d 0.4.2 ## Description `Collider::compound` from an ellipse collider doesn't register (at least some) collisions. ## Example Below code spawns a compound collider consisting of a...
Entities created with a collider will not be queryable via the spatial index during the frame in which they are created unless one both manually calls `SpatialQuery::update_pipeline` (which is fairly...
# Objective Provide a way for the methods in `AnyCollider` to obtain extra context from the ecs/entity it is attached to. ## Solution - Add a `Context` GAT to the...
Hi, this is a confusing non intuitive change in default behaviour that showes up if one updates ExternalForces, and I feel like it is a bug. # How i found...
As https://github.com/bevyengine/bevy/pull/15281 is getting merged, we should also explore making Avian less dependent on `std`. This could make it work on less common platforms such as the Nintendo Switch and...
# Objective Remove `rest_length` from `DistanceJoint` which is ignored if `length_limits` is present. # Problem I was using distance joints as muscles, changing their rest length to exert them. However,...