Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.20.0 #311

Merged
merged 1 commit into from
Jan 15, 2023
Merged

Release v0.20.0 #311

merged 1 commit into from
Jan 15, 2023

Conversation

sebcrozet
Copy link
Member

Added

  • Add the RigidBodyDisabled and ColliderDisabled component that can be inserted to disable a rigid-body
    or collider without removing it from the scene.

Fix

  • Fix spawn position of colliders without rigid bodies.
  • Fix overriding enabled flag in debug render.

Modified

  • Make debug-rendering enabled by default when inserting the RapierDebugRenderPlugin plugin with its default configuration.
  • The debug-render feature has been replaced by two features: debug-render-2d and debug-render-3d. For example,
    using debug-render-2d with bevy_rapier3d, the debug-render will work with 2D cameras (useful, e.g., for top-down games
    with 3D graphics).
  • In order to facilitate the use of bevy_rapier in headless mode, the AsyncCollider and AsyncSceneCollider
    components were moved behind the async-collider feature (enabled by default). Disabling that feature will
    make bevy_rapier work even with the MinimalPlugins inserted insetad of the DefaultPlugins.
  • Corrected an API inconsistency where bevy_rapier components would sometimes require an InteracitonGroup type defined in
    rapier. It has been replaced by the CollisionGroup type (defined in bevy_rapier).
  • Velocity::zero,linear,angular are now const-fn.

@sebcrozet sebcrozet merged commit 3899db0 into master Jan 15, 2023
@sebcrozet sebcrozet deleted the release-0.20 branch January 15, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant