Skip to content

Commit 030dc61

Browse files
Fix typos. (#580)
1 parent c2bed72 commit 030dc61

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

Diff for: CHANGELOG.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,14 @@ performance of the other parts of the simulation.
153153

154154
- Add a joint for simulating ropes: the `RopeJoint`.
155155
- Add `Velocity::linear_velocity_at_point` to calculate the linear velocity at the given world-space point.
156-
- Add the `ComputedColliderShape::ConvexHull` variant to automatcially calculate the convex-hull of an imported mesh.
156+
- Add the `ComputedColliderShape::ConvexHull` variant to automatically calculate the convex-hull of an imported mesh.
157157
- Implement `Reflect` for the debug-renderer.
158158

159159
### Fix
160160

161161
- Fix broken interpolation for rigid-bodies with the `TransformInterpolation` component.
162162
- Fix compilation when `bevy_rapier` is being used with headless bevy.
163-
- Improved performance of the writeback system by not iterting on non-rigid-body entities.
163+
- Improved performance of the writeback system by not iterating on non-rigid-body entities.
164164
- Fix typo by renaming `CuboidViewMut::sed_half_extents` to `set_half_extents`.
165165
- Properly scale parented collider’s offset based on changes on its `ColliderScale`.
166166

@@ -170,7 +170,7 @@ performance of the other parts of the simulation.
170170

171171
- Update to Bevy 0.10.
172172
- The `PhysicsHooksWithQuery` trait has been renamed to by the `BevyPhysicsHooks`.
173-
- Bevy resources and queries accessed by the physics hook are now specified by the implementor of `BevyPhysicsHooks`
173+
- Bevy resources and queries accessed by the physics hook are now specified by the implementer of `BevyPhysicsHooks`
174174
which must derive Bevy’s `SystemParam` trait. This implies that the physics hook’s `filter_contact_pair` (and
175175
all its other methods) no longer take the Bevy `Query` as argument. Queries and resources are accessed through
176176
`self`.
@@ -461,7 +461,7 @@ Finally, there is now a prelude: `use bevy_rapier2d::prelude::*`.
461461
is used. It will silently ignore the shape instead.
462462
- The crate has now a `render` feature that allows building it without any
463463
rendering support (avoiding some dependencies that may not compile when
464-
targetting WASM).
464+
targeting WASM).
465465

466466
## 0.7.0
467467

@@ -491,7 +491,7 @@ Finally, there is now a prelude: `use bevy_rapier2d::prelude::*`.
491491

492492
- It is now possible to attach multiple colliders to a single
493493
rigid-body by using Bevy hierarchy: an entity contains
494-
the `RigidBodyBuider` whereas its children contain the `ColliderBuilder`.
494+
the `RigidBodyBuilder` whereas its children contain the `ColliderBuilder`.
495495

496496
### Changed
497497

Diff for: src/control/character_controller.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub struct MoveShapeOptions {
8181
/// Increase this number if your character appears to get stuck when sliding against surfaces.
8282
///
8383
/// This is a small distance applied to the movement toward the contact normals of shapes hit
84-
/// by the character controller. This helps shape-casting not getting stuck in an alway-penetrating
84+
/// by the character controller. This helps shape-casting not getting stuck in an always-penetrating
8585
/// state during the sliding calculation.
8686
///
8787
/// This value should remain fairly small since it can introduce artificial "bumps" when sliding
@@ -151,7 +151,7 @@ pub struct KinematicCharacterController {
151151
/// Increase this number if your character appears to get stuck when sliding against surfaces.
152152
///
153153
/// This is a small distance applied to the movement toward the contact normals of shapes hit
154-
/// by the character controller. This helps shape-casting not getting stuck in an alway-penetrating
154+
/// by the character controller. This helps shape-casting not getting stuck in an always-penetrating
155155
/// state during the sliding calculation.
156156
///
157157
/// This value should remain fairly small since it can introduce artificial "bumps" when sliding

Diff for: src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//! physics simulation. Its target application include video games, animation, robotics, etc.
66
//!
77
//! The `bevy_rapier` projects implements two other crates `bevy_rapier2d` and `bevy_rapier3d` which
8-
//! defines physics plugins for the Bevy game engine.
8+
//! define physics plugins for the Bevy game engine.
99
//!
1010
//! User documentation for `bevy_rapier` is on [the official Rapier site](https://rapier.rs/docs/).
1111
//!

Diff for: src/plugin/context.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ impl RapierContext {
339339
}
340340
}
341341

342-
/// This method makes sure tha the rigid-body positions have been propagated to
343-
/// their attached colliders, without having to perform a srimulation step.
342+
/// This method makes sure that the rigid-body positions have been propagated to
343+
/// their attached colliders, without having to perform a stimulation step.
344344
pub fn propagate_modified_body_positions_to_colliders(&mut self) {
345345
self.bodies
346346
.propagate_modified_body_positions_to_colliders(&mut self.colliders);

Diff for: src/plugin/plugin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ where
9696
systems::init_colliders,
9797
systems::init_joints,
9898
systems::sync_removals,
99-
// Run this here so the folowwing systems do not have a 1 frame delay.
99+
// Run this here so the following systems do not have a 1 frame delay.
100100
apply_deferred,
101101
systems::apply_scale,
102102
systems::apply_collider_user_changes,

Diff for: src/render/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub struct DebugRenderContext {
8585
pub enabled: bool,
8686
/// Whether to show debug gizmos for all colliders.
8787
///
88-
/// Can be overriden for individual colliders by adding a [`ColliderDebug`] component.
88+
/// Can be overridden for individual colliders by adding a [`ColliderDebug`] component.
8989
pub default_collider_debug: ColliderDebug,
9090
/// Pipeline responsible for rendering. Access `pipeline.mode` and `pipeline.style`
9191
/// to modify the set of rendered elements, and modify the default coloring rules.

0 commit comments

Comments
 (0)