{"id":26159603,"url":"https://github.com/virxec/rl_ball_sym","last_synced_at":"2025-04-14T10:53:52.011Z","repository":{"id":45408501,"uuid":"365053577","full_name":"VirxEC/rl_ball_sym","owner":"VirxEC","description":"Rust implementation Rocket League's ball physics","archived":false,"fork":false,"pushed_at":"2025-02-20T17:52:06.000Z","size":8884,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T00:11:15.432Z","etag":null,"topics":["rlbot","rocket-league","rust","simulation"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/rl_ball_sym","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/VirxEC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2021-05-06T22:35:57.000Z","updated_at":"2025-02-20T17:52:10.000Z","dependencies_parsed_at":"2023-12-10T23:26:03.902Z","dependency_job_id":"70e5d992-e183-495f-9578-779faf12b00b","html_url":"https://github.com/VirxEC/rl_ball_sym","commit_stats":{"total_commits":179,"total_committers":3,"mean_commits":"59.666666666666664","dds":0.06703910614525144,"last_synced_commit":"14ea3faa8ad895f7d98d6e741e770e83be651466"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirxEC%2Frl_ball_sym","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirxEC%2Frl_ball_sym/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirxEC%2Frl_ball_sym/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirxEC%2Frl_ball_sym/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VirxEC","download_url":"https://codeload.github.com/VirxEC/rl_ball_sym/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868772,"owners_count":21174757,"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":["rlbot","rocket-league","rust","simulation"],"created_at":"2025-03-11T11:33:03.952Z","updated_at":"2025-04-14T10:53:51.990Z","avatar_url":"https://github.com/VirxEC.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rl_ball_sym\n\n[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)\n\nRust implementation of Rocket League's ball physics;\nInspired by Samuel P. Mish's C++ utils called [RLUtilities](https://github.com/samuelpmish/RLUtilities)\nwith accuracy improvements from [RocketSim](https://github.com/ZealanL/RocketSim)\nand other miscellaneous performance improvements.\n\n## Running\n\nMake sure you have Rust/Cargo installed, then just run `cargo test --release` in the terminal.\n\n## Example implementations\n\nCheck out the examples folder! If you want to run them and don't know how:\n\n```bat\ncargo run --example example_name\n```\n\nFor example, to run the example `basic.rs`:\n\n```bat\ncargo run --example basic\n```\n\n## Performance numbers\n\nNumbers are from a system running Ubuntu 23.10 with a Ryzen 9 5900X and 3600MHz CL18 RAM.\n\nNumbers _will_ vary depending on your system. Only default features are enabled.\n\n+ `load_standard`: Loads 8028 triangles, executes in around `655µs`\n+ `load_hoops`: Loads 15732 triangles, executes in around `1.35ms`\n+ `load_dropshot`: Loads 3616 triangles, executes in around `300µs`\n+ `load_standard_throwback`: Loads 9272 triangles, executes in around `815µs`\n+ `get_ball_prediction_struct_for_time`: standard + 8 seconds, executes in around `180µs`\n+ `get_ball_prediction`: standard + 6 seconds, executes in around `145µs`\n+ `get_ball_prediction`: Hoops + 6 seconds, executes in around `140µs`\n+ `get_ball_prediction`: Dropshot + 6 seconds, executes in around `115µs`\n+ `get_ball_prediction`: standard + Throwback Stadium + 6 seconds, executes in around `145µs`\n\n## Features\n\n+ `standard`: Enable loading the standard map\n+ `hoops`: Enable loading the hoops map\n+ `dropshot`: Enable loading the dropshot map\n+ `throwback`: Enable loading the throwback map (with standard game rules)\n+ `compression`: Minimize the size of the produced binaries by compressing the binary field data at compile time. Will slightly slow down `load_x()` functions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirxec%2Frl_ball_sym","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirxec%2Frl_ball_sym","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirxec%2Frl_ball_sym/lists"}