{"id":15178455,"url":"https://github.com/ickshonpe/bevy_independent_transform","last_synced_at":"2026-02-16T19:03:37.953Z","repository":{"id":60839821,"uuid":"546010517","full_name":"ickshonpe/bevy_independent_transform","owner":"ickshonpe","description":"Relative positioning, global scaling and rotation.","archived":false,"fork":false,"pushed_at":"2022-10-05T15:54:06.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-14T04:53:08.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ickshonpe.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}},"created_at":"2022-10-05T11:15:42.000Z","updated_at":"2022-10-05T11:29:06.000Z","dependencies_parsed_at":"2022-10-05T14:45:46.573Z","dependency_job_id":null,"html_url":"https://github.com/ickshonpe/bevy_independent_transform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ickshonpe/bevy_independent_transform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_independent_transform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_independent_transform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_independent_transform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_independent_transform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickshonpe","download_url":"https://codeload.github.com/ickshonpe/bevy_independent_transform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_independent_transform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29515523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T18:37:19.720Z","status":"ssl_error","status_checked_at":"2026-02-16T18:36:46.920Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-09-27T15:03:24.765Z","updated_at":"2026-02-16T19:03:37.921Z","avatar_url":"https://github.com/ickshonpe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bevy_independent_transform\n\n[![crates.io](https://img.shields.io/crates/v/bevy_independent_transform)](https://crates.io/crates/bevy_independent_transform)\n[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](https://github.com/ickshonpe/bevy_independent_transform)\n[![crates.io](https://img.shields.io/crates/d/bevy_independent_transform)](https://crates.io/crates/bevy_independent_transform)\n\nEntities with an `IndependentTransform` have a position relative to their parent, but aren't part of the Bevy Transform hierarchy.\n\nWith `Transform` :\n\n![image](/assets/dependent.png)\n\nWith `IndependentTransform`:\n\n![image](/assets/independent_text.png)\n\nSupports Bevy 0.8\n\n## Setup\nAdd the dependency to your `Cargo.toml`\n\n```toml\nbevy_independent_transform = \"0.1\"\n```\n\nand the plugin to your `App`\n\n```rust\nfn main() {\n  App::new()\n    .add_plugins(DefaultPlugins)\n    .add_plugin(IndependentTransformPlugin)\n    // .. rest of App\n    run()\n}\n```\n\n## Usage\n`IndependentTransform` is a newtype wrapping `Transform`.\nLike `Transform`, an entity with a `IndependentTransform` should also have a `GlobalTransform`.\n\nYou can insert an `IndependentTransform` component directly, or spawn one of the bundles included with this crate:\n* ```IndependentSpriteBundle```\n* ```IndependentSpriteSheetBundle```\n* ```IndependentText2dBundle```\n* ```IndependentTransformBundle```\n\nIf an entity has both `IndependentTransform` and `Transform` components, the `IndependentTransform` component will be ignored.\n\n## Examples\n```\ncargo run --example text\ncargo run --example sprites\n```\n\n## Notes\n\nFor an alternative that respects the Bevy transform hierarchy, see my other crate at\n\nhttps://github.com/ickshonpe/bevy_fixed_sprites\n\nThe approach here seems better for text and game icons, and bevy_fixed_sprites is probably better for sprites representing \ngame characters and objects.\n\nI'm not sure how to combine both methods. Maybe it's not possible without introducing a lot of complexity and extra components, and/or replacing Bevy's `transform_propagate_system` system\nentirely. Haven't really thought about it much though.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_independent_transform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickshonpe%2Fbevy_independent_transform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_independent_transform/lists"}