Module query_sweep
Expand description
3D Swept Shape-Casting & Volume Overlap Queries (query_sweep.rs).
Provides exact zero-heap 3D swept shape and overlap queries:
cast_sphere: swept sphere time-of-impact query via Minkowski radius inflation,cast_capsule: swept vertical capsule time-of-impact query (used bystep_character_3d),overlap_aabb: broadphase + narrowphase AABB overlap query.
Structs§
- Shape
Cast Hit3D - Hit result returned by
cast_sphereandcast_capsule.
Functions§
- cast_
capsule - Casts a vertical 3D capsule (
radius,half_height) alongdirup tomax_distby sweeping 3 axial proxy spheres (bottom hemisphere, center, top hemisphere). - cast_
sphere - Casts a sphere of
radiusalongdirup tomax_distby inflating target primitives byradius. - overlap_
aabb - Convenience wrapper returning all collider IDs overlapping
query_aabb.