| Crates.io | bevy-ichun |
| lib.rs | bevy-ichun |
| version | 0.5.0 |
| created_at | 2025-03-04 15:59:24.587709+00 |
| updated_at | 2025-08-02 09:44:43.387495+00 |
| description | A simple kinematic character controller for avian3d |
| homepage | https://codeberg.org/seongbae/bevy-ichun |
| repository | https://codeberg.org/seongbae/bevy-ichun |
| max_upload_size | |
| id | 1577457 |
| size | 228,468 |
bevy-ichun (Okinawan dialect for the Japanese word 行く, meaning 'to go') is a simple kinematic character controller for Bevy with Avian3D.
| Bevy | Avian | Ichun |
|---|---|---|
| 0.16 | 0.3 | 0.4 & 0.5 |
| 0.15 | 0.2 | <= 0.3 |
This library has four main components:
The Kcc component provides the basic functionality for a kinematic character controller:
kcc_actions)The KccActions component stores actions which should be executed each frame.
The actions will be reset in the post-update loop and thus need to be set each frame.
Following actions are possible:
kcc_movement_events)The KccMovementEventsConfig component provides events which can be used to move the Kcc around.
The events will add kcc_actions and provide a nice and clean API but not as much freedom as using the actions on your own:
kcc_input)This component handles user defined input and uses the kcc_movement_events to move the Kcc around.
Kcc & globallyDefining a key to handle roation is not yet implemented (the mouse is used).
This feature is depending on the kcc_movement_events.
Examples are in the examples folder.
It can be run with following command: cargo r --example simple-kcc.
Or to check out the event based approach: cargo r --example simple-kcc-with-events --features "kcc_input kcc_movement_events".
Dual-licensed under either:
at your option.