Crate bevy_mod_raycast[−][src]
Modules
rays | Encapsulates Ray3D, preventing use of struct literal syntax. This allows us to guarantee that
the |
Structs
BoundVol | |
BoundingSphere | Defines a bounding sphere with a center point coordinate and a radius |
DebugCursor | |
DebugCursorMesh | |
DebugCursorTail | |
DefaultRaycastingPlugin | |
Intersection | Holds computed intersection information |
PluginState | Global plugin state used to enable or disable all ray casting for a given type T. |
Ray3d | A 3D ray, with an origin and direction. The direction is guaranteed to be normalized. |
RayCastMesh | Marks an entity as pickable, with type T. |
RayCastSource | The |
Triangle |
Enums
Primitive3d | |
RayCastMethod | Specifies the method used to generate rays. |
RaycastSystem |
Functions
build_rays | |
update_bound_sphere | |
update_debug_cursor | Updates the 3d cursor to be in the pointed world coordinates |
update_raycast | Generate updated rays for each ray casting source, then iterate through all entities with the RayCastMesh component, checking for intersections. If these entities have bounding volumes, these will be checked first, greatly accelerating the process. |