Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v0.18.0 (24 Jan. 2024)
The main highlight of this release is the implementation of a new non-linear constraints solver for better stability
and increased convergence rates. See #579 for additional information.
In order to adjust the number of iterations of the new solver, simply adjust
IntegrationParameters::num_solver_iterations
.If recovering the old solver behavior is useful to you, call
IntegrationParameters::switch_to_standard_pgs_solver()
.It is now possible to specify some additional solver iteration for specific rigid-bodies (and everything interacting
with it directly or indirectly through contacts and joints):
RigidBodyBuilder::additional_solver_iterations
andRigidBodyBuilder::set_additional_solver_iterations
. This allows for higher-accuracy on subsets of the physics scenewithout affecting performance of the other parts of the simulation.
Fix
Added
SpringJoint
andSpringJointBuilder
for simulating springs with customizable stiffness and damping coefficients.SphericalJoint::local_frame1/2
,::set_local_frame1/2
, andSphericalJointBuilder::local_frame1/2
to set boththe joint’s anchor and reference orientation.
EffectiveCharacterMovement::is_sliding_down_slope
to indicate if the character controlled by the kinematiccharacter controller is sliding on a slope that is too steep.
Wheel::side_friction_stiffness
to customize the side friction applied to the vehicle controller’s wheel.Wheel::raycast_info
to access more wheel information relative to the ground.DebugRenderStyle::disabled_color_multiplier
to make the debug-renderer color disabled object differently.Modified
Wheel::friction_slip
public to customize the front friction applied to the vehicle controller’s wheels.DebugRenderBackend::filter_object
predicate that can be implemented to apply custom filtering ruleson the objects being rendered.
bevy 0.12
and use its new Gizmos API for rendering lines.NarrowPhase::contacts_with
toNarrowPhase::contact_pairs_with
.NarrowPhase::intersections_with
toNarrowPhase::intersection_pairs_with
.