Skip to content

Commit

Permalink
changelog line
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Jul 4, 2024
1 parent 5b7363f commit e537660
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and new features. Please have a look at the

- Update to rapier `0.21`.
- Update to nalgebra `0.33`.
- `ImpulseJoint` and `MultibodyJoint` now have a more detailed enum `JointDescription` instead of a `GenericJoint`.
You can still access its inner `GenericJoint` with `.generic_joint()`.

## v0.27.0-rc.1 (18 June 2024)

Expand Down
4 changes: 2 additions & 2 deletions bevy_rapier3d/examples/joints3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn main() {
.add_systems(
Last,
(print_impulse_revolute_joints,)
.run_if(once_after_delay(Duration::from_secs_f32(0.1f32))),
.run_if(once_after_delay(Duration::from_secs_f32(1f32))),
)
.run();
}
Expand Down Expand Up @@ -85,7 +85,7 @@ fn create_rope_joints(commands: &mut Commands, origin: Vect, num: usize) {
let dz = (i + 1) as f32 * shift;

let rope = RopeJointBuilder::new(2.0).local_anchor2(Vec3::new(0.0, 0.0, -shift));
let joint = ImpulseJoint::new(curr_parent, rope.build());
let joint = ImpulseJoint::new(curr_parent, rope);

curr_parent = commands
.spawn((
Expand Down

0 comments on commit e537660

Please sign in to comment.