Add Collider::set_translation_wrt_parent to change the translation of a collider wrt. its parent rigid-body.
Add Collider::set_rotation_wrt_parent to change the translation of a collider wrt. its parent rigid-body.
v0.10.0
Added
Implement Clone for IslandManager.
Modified
JointSet::insert no longer takes the rigid-body set in its arguments.
Modify the testbed's plugin system to let plugins interact with the rendering.
Implement PartialEq for most collider and rigid-body components.
v0.9.2
Added
Make the method JointSet::remove_joints_attached_to_rigid_body public so that it can can be called externally for
letting component-based Rapier integration call it to cleanup joints after a rigid-body removal.
Fixed
Fix a panic that could happen when the same collider is listed twice in the removed_colliders array.
v0.9.1
Added
Add rapier::prelude::nalgebra so that the vector! and point! macros work out-of-the-box after importing
the prelude: use rapier::prelude::*
v0.9.0
The user-guide has been fully rewritten and is now exhaustive! Check it out on rapier.rs
Added
A prelude has been added in order to simplify the most common imports. For example: use rapier3d::prelude::*
Add RigidBody::set_translation and RigidBody.translation().
Add RigidBody::set_rotation and RigidBody.rotation().
Add RigidBody::set_next_translation for setting the next translation of a position-based kinematic body.
Add RigidBody::set_next_rotation for setting the next rotation of a position-based kinematic body.
Add kinematic bodies controlled at the velocity level: use RigidBodyBuilder::new_kinematic_velocity_based or
RigidBodyType::KinematicVelocityBased.
Add the cargo feature debug-disable-legitimate-fe-exceptions that can be enabled for debugging purpose. This will
disable floating point exceptions whenever they happen at places where we do expect them to happen (for example
some SIMD code do generate NaNs which are filtered out by lane-wise selection).
Modified
The use of RigidBodySet, ColliderSet, RigidBody, Collider is no longer mandatory. Rigid-bodies and colliders have
been split into multiple components that can be stored in a user-defined set. This is useful for integrating Rapier
with other engines (for example this allows us to use Bevy's Query as our rigid-body/collider sets).
The RigidBodySet, ColliderSet, RigidBody, Collider are still the best option for whoever doesn't want to
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on rapier3d to permit the latest version.
Changelog
Sourced from rapier3d's changelog.
... (truncated)
Commits
ddb978c
Release v0.10.18e0aa2a
Add methods to set the translation or rotation wrt. a collider and its parent.77a6cd3
Release v0.10.09233a85
impl more traits for components3b0d256
make collider Option<> on EntityWithGraphics53700db
add opacity to EntityWithGraphics9f8d976
add despawn method to EntityWithGraphics0e1215e
add update_ui to TestbedPlugin7c249c8
enable clear_graphics and run_callbacks agin62d6b06
Derive Clone for IslandManagerDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)