https://github.com/aliscode/bevy_collision_prototype
Bevy collision prototype based on ncollide
https://github.com/aliscode/bevy_collision_prototype
Last synced: 11 months ago
JSON representation
Bevy collision prototype based on ncollide
- Host: GitHub
- URL: https://github.com/aliscode/bevy_collision_prototype
- Owner: AlisCode
- License: mit
- Created: 2021-04-23T16:35:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-23T16:42:34.000Z (almost 5 years ago)
- Last Synced: 2025-01-06T09:12:19.656Z (about 1 year ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bevy_collision_prototype
WIP bevy plugin for collision handling
* Only supports 2D for now, but supporting 3D should not exactly be a big deal
## Usage note
* Insert a new entity and add a `ColliderBuilder` component to it
* The **collision system** (this plugin) drives changes to your bevy `Transform`s, not the other way around. Keep that in mind.
* Use the `Velocity` component to move a colliding entity around
## Example
* Launch using `cargo r --example hello`
* Use arrow keys to move
* Whenever the player is colliding with something, it turns red. That's about it.
## Bevy support
|bevy|bevy_collision_prototype|
|---|---|
|0.5|0.1|