Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the default layers used by
ColliderConstructorHierarchy
(#649)
# Objective #476 changed `CollisionLayers` to use one membership (the first layer) and all filters by default. However, `ColliderConstructorHierarchy` is still using the old default! ## Solution Use `CollisionLayers::default()` (one membership, all filters) by default for `ColliderConstructorHierarchy`. --- ## Migration Guide `ColliderConstructorHierarchy` now defaults to one membership (the first layer) and all filters for the `CollisionLayers` of generated colliders. This is consistent with how `CollisionLayers` already works normally.
- Loading branch information