Module query
Expand description
Backwards-compatible query module alias re-exporting both ray and swept shape queries.
Structs§
- RayHit3D
- Hit result returned by
cast_ray. - 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_
ray - Casts a 3D ray through a
BroadphaseBvhand collider slice, returning the closestRayHit3D. - cast_
sphere - Casts a sphere of
radiusalongdirup tomax_distby inflating target primitives byradius. - overlap_
aabb - Convenience wrapper returning all collider IDs overlapping
query_aabb. - ray_
sdf_ local - Sphere-tracing raycast against an analytical
SdfPrimitivein local space. - ray_
sphere_ local - Analytical ray-sphere intersection in local space (sphere centered at origin).
- ray_
triangle_ moller_ trumbore - Möller–Trumbore ray-triangle intersection test (
HotZeroHeap). - raycast_
collider - Raycast against a single
ColliderShape3Dtransformed bymotor.