Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in Docs for moving the Collider's Transform (bevy_rapier3d) #503

Closed
alphastrata opened this issue Jul 13, 2023 · 1 comment
Closed

Comments

@alphastrata
Copy link

alphastrata commented Jul 13, 2023

is:

/* Set the collider position inside of a system. */
fn modify_collider_position(mut positions: Query<&mut Transform, With<Collider>) { // <<<<MISSING A CLOSING ANGLE BRACKET
    for mut position in positions.iter_mut() {
        position.translation.x = 2.0;
    }
}

should be :

fn modify_collider_position(mut colliders: Query<&mut Transform, With<Collider>>) {
    for mut position in colliders.iter_mut() {
        position.translation.x = 2.0;
    }
}

image
missing closing > bracket.

Cannot see how to file a PR directly for those docs so @dimforge folk.

@sebcrozet
Copy link
Member

sebcrozet commented Jan 28, 2024

Thank you for pointing this out. This is fixed now. PRs affecting the website can target the website’s repository: https://github.com/dimforge/rapier.rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants