Skip to content

Conversation

@morgenthum
Copy link
Contributor

See #631

@morgenthum
Copy link
Contributor Author

I removed the RenderLayers checks, because it would be too complicated to configure picking, if we have CollisionLayers, RenderLayers and the new PhysicsPickingLayers on the camera.

@Jondolf Jondolf added C-Feature A new feature, making something new possible A-Spatial-Query Relates to spatial queries, such as ray casting, shape casting, and intersection tests M-Migration-Guide A breaking change to Avian's public API that needs to be noted in a migration guide labels Jan 17, 2025
@Jondolf Jondolf added this to the 0.3 milestone Jan 17, 2025
Copy link
Member

@Jondolf Jondolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I pushed some changes to replace PhysicsPickingLayers with a PhysicsPickingFilter component that stores a whole SpatialQueryFilter instead of just a layer mask, like I proposed on Discord :)

Also made some small doc improvements and added the component to the prelude. I intend to merge this tomorrow.

@Jondolf Jondolf changed the title Introduce PhysicsPickingLayers Introduce PhysicsPickingFilter Jan 30, 2025
@Jondolf Jondolf merged commit 11e64a1 into avianphysics:main Jan 30, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Spatial-Query Relates to spatial queries, such as ray casting, shape casting, and intersection tests C-Feature A new feature, making something new possible M-Migration-Guide A breaking change to Avian's public API that needs to be noted in a migration guide

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants