{"id":15647327,"url":"https://github.com/manevillef/bevy_verlet","last_synced_at":"2025-04-06T11:09:40.128Z","repository":{"id":39606150,"uuid":"405620828","full_name":"ManevilleF/bevy_verlet","owner":"ManevilleF","description":"Verlet physics plugin for bevy.","archived":false,"fork":false,"pushed_at":"2025-01-04T20:25:43.000Z","size":46764,"stargazers_count":44,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T10:08:02.925Z","etag":null,"topics":["bevy-plugin","gamedev","physics","physics-2d","physics-3d","rust","verlet"],"latest_commit_sha":null,"homepage":"","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/ManevilleF.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-09-12T11:16:35.000Z","updated_at":"2025-02-27T20:18:56.000Z","dependencies_parsed_at":"2024-10-03T12:18:42.671Z","dependency_job_id":"6ce8dc0b-e5a0-423e-8acd-e3be788fe6f1","html_url":"https://github.com/ManevilleF/bevy_verlet","commit_stats":{"total_commits":51,"total_committers":1,"mean_commits":51.0,"dds":0.0,"last_synced_commit":"53dbcdc3e552aa9fc3161a9260412309c08cf680"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManevilleF%2Fbevy_verlet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManevilleF%2Fbevy_verlet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManevilleF%2Fbevy_verlet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManevilleF%2Fbevy_verlet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ManevilleF","download_url":"https://codeload.github.com/ManevilleF/bevy_verlet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247471521,"owners_count":20944158,"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-plugin","gamedev","physics","physics-2d","physics-3d","rust","verlet"],"created_at":"2024-10-03T12:18:27.905Z","updated_at":"2025-04-06T11:09:40.103Z","avatar_url":"https://github.com/ManevilleF.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Verlet Integration for Bevy\n\n[![workflow](https://github.com/ManevilleF/bevy_verlet/actions/workflows/rust.yml/badge.svg)](https://github.com/ManevilleF/bevy_verlet/actions/workflows/rust.yml)\n\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)\n[![Crates.io](https://img.shields.io/crates/v/bevy_verlet.svg)](https://crates.io/crates/bevy_verlet)\n[![Docs.rs](https://docs.rs/bevy_verlet/badge.svg)](https://docs.rs/bevy_verlet)\n[![dependency status](https://deps.rs/crate/bevy_verlet/0.9.0/status.svg)](https://deps.rs/crate/bevy_verlet)\n\n\u003c!-- cargo-sync-readme start --\u003e\n\nSimple Verlet points and sticks implementation for bevy.\n\nIf you are looking for cloth physics, please check\n[`bevy_silk`](https://github.com/ManevilleF/bevy_silk) instead\n\n## Bevy versions\n\n | `bevy_verlet` | `bevy`    |\n |---------------|-----------|\n | 0.1.x         | 0.5.x     |\n | 0.2.x         | 0.6.x     |\n | 0.3.x         | 0.7.x     |\n | 0.4.x         | 0.8.x     |\n | 0.5.x         | 0.9.x     |\n | 0.6.x         | 0.11.x    |\n | 0.7.x         | 0.12.x    |\n | 0.8.x         | 0.13.x    |\n | 0.9.x         | 0.14.x    |\n\n## Features\n\nYou can simply add a `VerletPoint` component on any entity with a\n`Transform` and the verlet physics will apply.\n\nConnect points using `VerletStick` to constrain movement (see\n[examples](./examples)).\n\nLock some points by adding the `VerletLocked` component on a `VerletPoint`\nentity.\n\nCustomize *friction* and *gravity* with the `VerletConfig` resource.\n\n\u003e Works in 2D and 3D.\n\n## Cargo features\n\n1. `debug`\n\nThis feature will add a *system* drawing debug lines for every stick using\nbevy gizmos\n\n\u003c!-- cargo-sync-readme end --\u003e\n\n## Examples\n\n### 2D\n\n1. 2D Line\n\n   `cargo run --example 2d_line --features \"debug\"`\n\n   ![Alt](./docs/demo_line.gif \"demo gif\")\n\n2. 2D cloth\n\n   `cargo run --example 2d_cloth --features \"debug\"`\n\n   ![Alt](./docs/demo_cloth.gif \"demo gif\")\n\n3. 2D cloth cutting\n\n   `cargo run --example 2d_cloth_cutter --features \"debug\"\n\n   ![Alt](./docs/demo_cloth_cutting.gif \"demo gif\")\n\n### 3D\n\n* `cargo run --example 3d_line --features \"debug\"`\n* `cargo run --example 3d_cloth --features \"debug\"`\n\n## Credits\n\nInspired by:\n\n* This [Sebastian Lague video](https://www.youtube.com/watch?v=PGk0rnyTa1U)\n* This [Coding Math course](https://www.youtube.com/watch?v=3HjO_RGIjCU)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanevillef%2Fbevy_verlet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanevillef%2Fbevy_verlet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanevillef%2Fbevy_verlet/lists"}