mirror of
https://github.com/bevyengine/bevy
synced 2024-12-21 02:23:08 +00:00
1cc4d1e8ac
# Objective The `RayCastSettings` type is only used in the context of ray casts with the `MeshRayCast` system parameter. The current name is somewhat inconsistent with other existing types, like `MeshRayCast` and `MeshPickingSettings`, but more importantly, it easily conflicts with physics, and forces those crates to opt for some other name like `RayCastConfig` or `RayCastOptions`. We should rename `RayCastSettings` to `MeshRayCastSettings` to avoid naming conflicts and improve consistency. ## Solution Rename `RayCastSettings` to `MeshRayCastSettings`. --- ## Migration Guide `RayCastSettings` has been renamed to `MeshRayCastSettings` to avoid naming conflicts with other ray casting backends and types. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |