scene_queries_point_projection
Point projection will either project a point on the closest collider of the scene (QueryPipeline::project_point
RapierContext::project_point
World.projectPoint
QueryPipeline::intersections_with_point
RapierContext::intersections_with_point
World.intersectionsWithPoint
- Example 2D
- Example 3D
<load path='/2d/rust/examples/rs_scene_queries2.rs' marker='PointProjection' />
<load path='/3d/rust/examples/rs_scene_queries3.rs' marker='PointProjection' />
- Example 2D
- Example 3D
<load path='/2d/bevy/examples/scene_queries2.rs' marker='PointProjection' />
<load path='/3d/bevy/examples/scene_queries3.rs' marker='PointProjection' />
- Example 2D
- Example 3D
<load path='/2d/javascript/src/snippets/scene_queries.ts' marker='PointProjection' />
<load path='/3d/javascript/src/snippets/scene_queries.ts' marker='PointProjection' />
It is possible to only apply the scene query to a subsets of the colliders using a query filter