ITADN

Update avian2d requirement from 0.4 to 0.5

#124Pull Requestdependabot[bot] 创建于 2026-01-19
dependenciesrust
D
dependabot[bot]commented
Updates the requirements on [avian2d](https://github.com/avianphysics/avian) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/avianphysics/avian/releases">avian2d's releases</a>.</em></p> <blockquote> <h2>Bevy XPBD v0.5.0</h2> <p><strong>Bevy XPBD 0.5</strong> is the final version of Bevy XPBD, and will be deprecated in favor of <strong>Avian</strong>, which is coming very, very soon. This release is primarily a Bevy 0.14 upgrade with very few breaking changes to ease migration. Avian 0.1 will have the majority of the changes.</p> <p>The main changes and improvements in Bevy XPBD 0.5 are:</p> <ul> <li>Bevy 0.14 support.</li> <li>Transform propagation has significantly less overhead, as it is only performed for physics entities.</li> <li>Sensor colliders no longer contribute to mass properties.</li> <li>2D heightfields take a <code>Vec2</code> instead of a scalar value for scale.</li> <li>Some bug fixes, like rotation normalization in constraints to prevent explosive behavior.</li> </ul> <h2>Migration Guide</h2> <h3>Sensor Mass Properties (<a href="https://redirect.github.com/avianphysics/avian/issues/381">#381</a>)</h3> <p>Colliders with the <code>Sensor</code> component no longer contribute to the mass properties of rigid bodies. You can add mass for them by adding another collider that is <em>not</em> a sensor, or by manually adding mass properties with the <code>MassPropertiesBundle</code> or its components.</p> <p>Additionally, the mass properties of <code>Sensor</code> colliders are no longer updated automatically, unless the <code>Sensor</code> component is removed.</p> <h3><code>PrepareSet</code> System Set Order (<a href="https://redirect.github.com/avianphysics/avian/issues/380">#380</a>)</h3> <p>Some <code>PrepareSet</code> system sets have changed order.</p> <p>Before:</p> <ol> <li><code>PreInit</code></li> <li><code>PropagateTransforms</code></li> <li><code>InitRigidBodies</code></li> <li><code>InitMassProperties</code></li> <li><code>InitColliders</code></li> <li><code>InitTransforms</code></li> <li><code>Finalize</code></li> </ol> <p>After:</p> <ol> <li><code>PreInit</code></li> <li><code>InitRigidBodies</code></li> <li><code>InitColliders</code></li> <li><code>PropagateTransforms</code></li> <li><code>InitMassProperties</code></li> <li><code>InitTransforms</code></li> <li><code>Finalize</code></li> </ol> <h3><code>ColliderHierarchyPlugin</code> (<a href="https://redirect.github.com/avianphysics/avian/issues/377">#377</a>)</h3> <p>Hierarchy and transform logic for colliders has been extracted from the <code>ColliderBackendPlugin</code> into a new <code>ColliderHierarchyPlugin</code>, which by default is included in the <code>PhysicsPlugins</code> plugin group.</p> <p>If you are adding plugins manually, make sure you have both if you want that functionality.</p> <h2>What's Changed</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/avianphysics/avian/commit/4e4a17a599da0a0f5d3b4971f4bd68d4356bea02"><code>4e4a17a</code></a> Release v0.5.0</li> <li><a href="https://github.com/avianphysics/avian/commit/eb83321c0c85030899438c509dd36e2530f8ba78"><code>eb83321</code></a> Fix 3D collider-from-mesh feature</li> <li><a href="https://github.com/avianphysics/avian/commit/b44816b42ee4867f9a6f256f730941732065b148"><code>b44816b</code></a> Remove workspace lints</li> <li><a href="https://github.com/avianphysics/avian/commit/3404f8a31971c98497fc4d760eb63527791c12f0"><code>3404f8a</code></a> Update migration guides, README, and crate docs</li> <li><a href="https://github.com/avianphysics/avian/commit/46fd5dd60378dba08f7fc61c22c11c29a4575755"><code>46fd5dd</code></a> Update to Bevy 0.18 (<a href="https://redirect.github.com/avianphysics/avian/issues/920">#920</a>)</li> <li><a href="https://github.com/avianphysics/avian/commit/fd8f073ab21e4e98155fe4a8ac967be8a5f1da4f"><code>fd8f073</code></a> Release v0.4.1</li> <li><a href="https://github.com/avianphysics/avian/commit/1e05f9056ead69e2612d9c6f0a018e702b07119f"><code>1e05f90</code></a> Bump version numbers</li> <li><a href="https://github.com/avianphysics/avian/commit/bf498f387977e318ff7be176c33472f1b5963c7a"><code>bf498f3</code></a> Fix panic when despawning joints after despawning their bodies (<a href="https://redirect.github.com/avianphysics/avian/issues/882">#882</a>)</li> <li><a href="https://github.com/avianphysics/avian/commit/5b1e64a5bf87337c8ccfc916dea573c1d66b770c"><code>5b1e64a</code></a> Update 3D character examples link (<a href="https://redirect.github.com/avianphysics/avian/issues/878">#878</a>)</li> <li><a href="https://github.com/avianphysics/avian/commit/4a7015f4c4eaa3b53a99668a739de9693370ef70"><code>4a7015f</code></a> Fix locked axes for angular impulses (<a href="https://redirect.github.com/avianphysics/avian/issues/881">#881</a>)</li> <li>Additional commits viewable in <a href="https://github.com/avianphysics/avian/compare/v0.4.0...v0.5.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
合并状态:未合并 关闭于 2026-01-19 1 条评论