A Granny2 model loader plugin for Bevy.
This library is currently under heavy development and doesn't support all features.
- Add to
Cargo.toml[dependencies] opengr2-bevy = "0.9" - Include the GrannyPlugin
use opengr2_bevy::GrannyPlugin; - Add the Plugin to your app
fn main() { App::new() .add_plugins(DefaultPlugins) .add_plugin(GrannyPlugin) .run(); } - Load gr2 file
Note: We load the models in a Granny2 file as different scenes labeled with their model name.
let handle = server.load("test.gr2#default"); commands.spawn(SceneBundle { scene: handle, ..default() });
| Functionality | Status |
|---|---|
| Static models | |
| Animations | ❌ |
| External textures | ✔️ |
| Embedded textures | ❌ |
Also look at the supported features of the underlying parsing library.
opengr2-bevy crate version follows bevy's version as shown:
| bevy | opengr2-bevy |
|---|---|
| 0.X.Y | 0.X |