{"id":13794605,"url":"https://github.com/aevyrie/bevy_mod_raycast","last_synced_at":"2025-03-14T03:03:10.657Z","repository":{"id":39435242,"uuid":"331483147","full_name":"aevyrie/bevy_mod_raycast","owner":"aevyrie","description":"A little mesh raycasting plugin for Bevy","archived":false,"fork":false,"pushed_at":"2024-07-13T01:59:16.000Z","size":501,"stargazers_count":339,"open_issues_count":16,"forks_count":100,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-07T14:44:02.107Z","etag":null,"topics":["bevy","game-development","raycasting"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/bevy_mod_raycast","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aevyrie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"aevyrie"}},"created_at":"2021-01-21T01:44:45.000Z","updated_at":"2025-03-05T19:33:30.000Z","dependencies_parsed_at":"2024-01-07T06:22:29.611Z","dependency_job_id":"0bcb58cd-6349-46e5-b5e0-8022c015d4d2","html_url":"https://github.com/aevyrie/bevy_mod_raycast","commit_stats":{"total_commits":231,"total_committers":20,"mean_commits":11.55,"dds":0.1255411255411255,"last_synced_commit":"bd84951952f58a36c8144725f6539e7b3f60ed0f"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aevyrie%2Fbevy_mod_raycast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aevyrie%2Fbevy_mod_raycast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aevyrie%2Fbevy_mod_raycast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aevyrie%2Fbevy_mod_raycast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aevyrie","download_url":"https://codeload.github.com/aevyrie/bevy_mod_raycast/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243515567,"owners_count":20303258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bevy","game-development","raycasting"],"created_at":"2024-08-03T23:00:44.574Z","updated_at":"2025-03-14T03:03:10.648Z","avatar_url":"https://github.com/aevyrie.png","language":"Rust","funding_links":["https://github.com/sponsors/aevyrie"],"categories":["Physics"],"sub_categories":[],"readme":"\u003e [!IMPORTANT]\r\n\u003e This crate is archived after being upstreamed in bevy 0.15.\r\n\u003e https://bevyengine.org/news/bevy-0-15/#entity-picking-selection\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n\r\n# `bevy_mod_raycast`\r\n\r\nA small [Bevy](https://github.com/bevyengine/bevy) plugin for mesh raycasting.\r\n  \r\n[![CI](https://github.com/aevyrie/bevy_mod_raycast/actions/workflows/rust.yml/badge.svg?branch=main)](https://github.com/aevyrie/bevy_mod_raycast/actions?query=workflow%3A%22rust.yml%22+branch%3Amain)\r\n[![docs.rs](https://docs.rs/bevy_mod_raycast/badge.svg)](https://docs.rs/bevy_mod_raycast)\r\n[![crates.io](https://img.shields.io/crates/v/bevy_mod_raycast)](https://crates.io/crates/bevy_mod_raycast)\r\n\r\n![reflecting_lasers example](https://github.com/aevyrie/bevy_mod_raycast/assets/2632925/4a1019d3-cbfa-4b20-b5c9-19a71ca09e04)  \r\n\u003c/div\u003e\r\n\r\n## Getting Started\r\n\r\nUsing the [`Raycast`](https://docs.rs/bevy_mod_raycast/latest/bevy_mod_raycast/immediate/struct.Raycast.html) system param, you don't even need to add a plugin, you can directly raycast into the ECS:\r\n\r\n```rs\r\nuse bevy_mod_raycast::prelude::*;\r\n\r\nfn my_raycast_system(mut raycast: Raycast) {\r\n    let ray = Ray3d::new(Vec3::ZERO, Vec3::X);\r\n    let hits = raycast.cast_ray(ray, \u0026RaycastSettings::default());\r\n}\r\n```\r\n\r\n- 👉 [Read the docs!](https://docs.rs/bevy_mod_raycast)\r\n- Play with the [examples](./examples).\r\n\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003e\u003ch2\u003eBevy Version Support\u003c/h2\u003e\u003c/summary\u003e\r\nI intend to track the `main` branch of Bevy. PRs supporting this are welcome!\r\n\r\n| bevy | bevy_mod_raycast |\r\n| ---- | ---------------- |\r\n| 0.14 | 0.18             |\r\n| 0.13 | 0.17             |\r\n| 0.12 | 0.16             |\r\n| 0.11 | 0.9 - 0.15       |\r\n| 0.10 | 0.8              |\r\n| 0.9  | 0.7              |\r\n| 0.8  | 0.6              |\r\n| 0.7  | 0.4 - 0.5        |\r\n| 0.6  | 0.3              |\r\n| 0.5  | 0.2              |\r\n| 0.4  | 0.1              |\r\n\u003c/details\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faevyrie%2Fbevy_mod_raycast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faevyrie%2Fbevy_mod_raycast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faevyrie%2Fbevy_mod_raycast/lists"}