You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Avian 0.5** migrated from Bevy 0.17 to 0.18. See [Bevy's migration guide](https://bevy.org/learn/migration-guides/0-17-to-0-18/) for migrating to the new version.
4
+
5
+
This release contains no breaking changes for Avian itself.
This file contains migration guides for breaking changes that have happened on the `main` branch
4
4
since the latest release. These guides are evolving and may not be polished yet.
5
5
6
6
See [migration-guides/README.md](./README.md) and existing entries for information about Avian's
7
7
migration guide process and what to put here.
8
8
9
-
## `ReadRigidBody` and `WriteRigidBody`
9
+
## `ReadRigidBodyForces` and `WriteRigidBodyForces`
10
10
11
-
PR [#908](https://github.com/avianphysics/avian/pull/908) introduced two new traits: `ReadRigidBody` and `WriteRigidBody`, and `RigidyBodyForces` is now defined as:
11
+
PR [#908](https://github.com/avianphysics/avian/pull/908) introduced two new traits: `ReadRigidBodyForces` and `WriteRigidBodyForces`, and `RigidyBodyForces` is now defined as:
In most cases this should just work, but if it doesn't, you can replace your implementation for `RigidBodyForces` with both `ReadRigidBodyForces` and `WriteRigidBodyForces` where it is used / needed. Both traits are required to implement `RigidBodyForces`, but you can implement them separately.
18
+
19
+
## `SleepBody` and `WakeBody`
20
+
21
+
The `SleepBody` and `WakeBody` commands now return an error when applied for an entity that doesn't exist
22
+
or doesn't belong to an island. Previously, they logged a warning instead.
0 commit comments