Skip to content

Commit 02f61c9

Browse files
committed
Add migration guide
1 parent 6b9802a commit 02f61c9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

migration-guides/0.6-to-main.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,14 @@ simply ignore the new parameter with `_`.
1616

1717
Similar to many other plugins, the `SpatialQueryPlugin` now stores a schedule label,
1818
which by default is also passed via `PhysicsPlugins::new`.
19+
20+
## Physics Debug Gizmo Mesh Visibility
21+
22+
In past releases, `PhysicsGizmos::hide_meshes` forced all meshes to be visible when it is `false`.
23+
Im **Avian 0.7**, it instead sets the mesh visibility to `Visibility::Inherited`, which is a more
24+
appropriate default.
25+
26+
This is still not perfect, as it does not fully respect the old visibility value. Doing so
27+
would require caching the old visibility in a separate component. This feature will likely
28+
undergo larger changes in the future, for example favoring `RenderLayers` over `Visibility`
29+
to create a dedicated "debug view".

0 commit comments

Comments
 (0)