-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Update to Bevy 0.13 #315
Merged
Update to Bevy 0.13 #315
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 902dac0 - Browse repository at this point
Copy the full SHA 902dac0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d58220d - Browse repository at this point
Copy the full SHA d58220dView commit details
Commits on Jan 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6ac9ca8 - Browse repository at this point
Copy the full SHA 6ac9ca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5249a91 - Browse repository at this point
Copy the full SHA 5249a91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e9ff23 - Browse repository at this point
Copy the full SHA 2e9ff23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97bfc17 - Browse repository at this point
Copy the full SHA 97bfc17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 723df2e - Browse repository at this point
Copy the full SHA 723df2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ea291f - Browse repository at this point
Copy the full SHA 5ea291fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49c3a47 - Browse repository at this point
Copy the full SHA 49c3a47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d4cad4 - Browse repository at this point
Copy the full SHA 3d4cad4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f6ade2 - Browse repository at this point
Copy the full SHA 1f6ade2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3080c7e - Browse repository at this point
Copy the full SHA 3080c7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ef362 - Browse repository at this point
Copy the full SHA d3ef362View commit details -
Configuration menu - View commit details
-
Copy full SHA for de625ff - Browse repository at this point
Copy the full SHA de625ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f883b7 - Browse repository at this point
Copy the full SHA 2f883b7View commit details
Commits on Jan 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 73b17b0 - Browse repository at this point
Copy the full SHA 73b17b0View commit details
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3658054 - Browse repository at this point
Copy the full SHA 3658054View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbd0b2b - Browse repository at this point
Copy the full SHA bbd0b2bView commit details
Commits on Feb 18, 2024
-
Colliders from primitives (#326)
# Objective Support creating colliders from the new geometric primitives in Bevy 0.13. ## Solution Add an `IntoCollider` trait and implement it for primitives. For now, tori and conical frusta are not supported, as they aren't as trivial to implement. Some new collider shapes are also supported: ellipses and regular polygons. These are implemented using custom shapes, as Parry doesn't have them built-in. `Collider::ball` is now also `Collider::circle` in 2D and `Collider::sphere` in 3D. `Collider::cuboid` is `Collider::rectangle` in 2D. This makes the naming consistent with Bevy. --- ## Migration Guide - Replace `Collider::ball` with `Collider::circle` in 2D and `Collider::sphere` in 3D - Replace `Collider::cuboid` with `Collider::rectangle` in 2D
Configuration menu - View commit details
-
Copy full SHA for 3e3c0bd - Browse repository at this point
Copy the full SHA 3e3c0bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6cb4ec - Browse repository at this point
Copy the full SHA a6cb4ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5d6071 - Browse repository at this point
Copy the full SHA c5d6071View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66f0159 - Browse repository at this point
Copy the full SHA 66f0159View commit details -
Make
IntoCollider
generic over collider, useimpl Into<Collider>
……for `ShapeCaster::new`
Configuration menu - View commit details
-
Copy full SHA for 5014565 - Browse repository at this point
Copy the full SHA 5014565View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3871cba - Browse repository at this point
Copy the full SHA 3871cbaView commit details -
Use direction types in ray and shape casting APIs and add `RayCaster:…
…:from_ray` (#329) # Objective Bevy 0.13 added the `Direction2d` and `Direction3d` types along with `Ray2d` and `Ray3d` types. The new direction types are a great fit for ray directions, as they guarantee that the direction is normalized. This avoids the potential footgun where unnormalized directions are actually treated like velocity, which affects the time of impact. Ray and shape casting APIs should use the direction types. It should also be possible to make a `RayCaster` from a ray conveniently. ## Solution Add `Ray` and `Dir` type aliases to support 2D and 3D, and use `Dir` for directions for `RayCaster`, `ShapeCaster`, and `SpatialQuery` methods. I also added a `RayCaster::from_ray` constructor. --- ## Migration Guide For spatial queries, replace `Vec2`/`Vec3` directions with `Direction2d`/`Direction3d`. ```rust // Before let caster = RayCaster::new(Vec3::ZERO, Vec3::X); // After let caster = RayCaster::new(Vec3::ZERO, Direction3d::X); ```
Configuration menu - View commit details
-
Copy full SHA for c248ad5 - Browse repository at this point
Copy the full SHA c248ad5View commit details
Commits on Feb 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9a1465c - Browse repository at this point
Copy the full SHA 9a1465cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02dc556 - Browse repository at this point
Copy the full SHA 02dc556View commit details
Commits on Feb 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1dcd739 - Browse repository at this point
Copy the full SHA 1dcd739View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d86737 - Browse repository at this point
Copy the full SHA 1d86737View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5ada9b - Browse repository at this point
Copy the full SHA b5ada9bView commit details
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.