dimforge / dimforge/bevy_rapier
`KinematicCharacterControllerOutput` doesn't get attached automatically
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 282
- PR merge metrics
- No merged PRs in 30d
Description
Hi.
This morning I have been trying to get my player jumping mechanics done and my logic was relying on the `grounded` field from [`KinematicCharacterControllerOutput`](https://docs.rs/bevy_rapier2d/latest/bevy_rapier2d/control/struct.KinematicCharacterControllerOutput.html). I followed what the documentation says precisely how to add character controllers and so on but to my surprise nothing had worked as I was expecting. Debugging led me to find that my player has no `KinematicCharacterControllerOutput` attached to it even tho he has [`KinematicCharacterController`](https://docs.rs/bevy_rapier2d/latest/bevy_rapier2d/control/struct.KinematicCharacterController.html) which should attach the output component automatically as it says [here](https://rapier.rs/docs/user_guides/bevy_plugin/character_controller). So I don't know if I messed things up somewhere or it's just some intern weird bug.
> The applied character motion, and the information of whether the character is touching the ground at its final position, can be read with the `KinematicCharacterControllerOutput` component (inserted automatically to the same entity as the `KinematicCharacterController` component).
Here's a [demo](https://github.com/theunrealtarik/kinematic-controller-demo) that demonstrates the issue.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.