Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,34 @@ This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern

### Installation

```
```sh
$ yarn
```

### Build

```
```sh
$ ./generate_user_guides.sh
```

This command reads the templates directory and extracts specific instructions for bevy / rust / rapier integrations. It also injects code contained in rust files.
Above command reads the templates directory and extracts specific instructions for bevy / rust / rapier integrations.
It also injects code contained in the example files.

```
```sh
$ yarn build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.
Above command generates static content into the `build` directory and can be served using any static contents hosting service.

```
```sh
$ yarn start
```

This command builds and starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
Above command builds and starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

### Deployment

```
```sh
$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
```

Expand Down
4 changes: 2 additions & 2 deletions docs-examples/2d/bevy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bevy = "0.13.2"
bevy_rapier2d = "0.26.0"
bevy = "0.14"
bevy_rapier2d = "0.27"
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn display_contact_info(rapier_context: Res<RapierContext>, custom_info: Res<Cus
/* Find the contact pair, if it exists, between two colliders. */
if let Some(contact_pair) = rapier_context.contact_pair(entity1, entity2) {
// The contact pair exists meaning that the broad-phase identified a potential contact.
if contact_pair.has_any_active_contacts() {
if contact_pair.has_any_active_contact() {
// The contact pair has active contacts, meaning that it
// contains contacts for which contact forces were computed.
}
Expand Down
Loading