Blender_bevy_components_wor.../examples/bevy_gltf_blueprints/basic_wasm
GitGhillie fd625ef2e0
chore(lock files ): Delete and ignore Cargo.lock files (#101)
* Delete lock files
* Ignore lock files
2024-01-19 11:49:22 +01:00
..
assets feat(wasm): added working examples for bevy_gltf_components & bevy_gltf_blueprints (#90) 2024-01-02 14:03:29 +01:00
src feat(Save & load): new crate bevy_gltf_save_load + lots of upgrades & improvements (#95) 2024-01-10 14:49:29 +01:00
Cargo.toml feat(wasm): added working examples for bevy_gltf_components & bevy_gltf_blueprints (#90) 2024-01-02 14:03:29 +01:00
README.md feat(wasm): added working examples for bevy_gltf_components & bevy_gltf_blueprints (#90) 2024-01-02 14:03:29 +01:00
index.html feat(wasm): added working examples for bevy_gltf_components & bevy_gltf_blueprints (#90) 2024-01-02 14:03:29 +01:00

README.md

Basic wasm example/demo

This example showcases various components & blueprints extracted from the gltf files, including physics colliders & rigid bodies, in wasm

Setup

as per the bevy documentation:

rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli

Building this example

navigate to the current folder , and then

cargo build --release --target wasm32-unknown-unknown --target-dir ./target
wasm-bindgen --out-name wasm_example \
  --out-dir ./target/wasm \
  --target web target/wasm32-unknown-unknown/release/bevy_gltf_blueprints_basic_wasm_example.wasm

Running this example

run a web server in the current folder, and navigate to the page, you should see the example in your browser