dimforge / rapier

2D and 3D physics engines focused on performance.
https://rapier.rs
Apache License 2.0
3.93k stars 244 forks source link

doc character_controller bug query #452

Closed Lightnet closed 1 year ago

Lightnet commented 1 year ago

Found a bug in code set up for https://rapier.rs/docs/user_guides/bevy_plugin/character_controller/

fn read_result_system(controllers: Query<Entity, &KinematicCharacterControllerOutput>) {
fn read_result_system(controllers: Query<(Entity, &KinematicCharacterControllerOutput)>) {

Had to look at the bevy doc a bit how to learn to get the correct return values.

Bevy Engine 0.9.1

bevy_rapier3d 0.20.0

sebcrozet commented 1 year ago

Thank you for pointing this out. The typo is fixed now.