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.
🤖 I have created a release beep boop
4.0.0 (2022-05-14)
⚠ BREAKING CHANGES
CollisionData
useVec3
normals (instead ofVec2
) (fix!: makeCollisionData
useVec3
normals (instead ofVec2
) jcornaz/heron#238)debug-3d
featureCollisionEvent
andCollisionData
no longer implementCopy
,Eq
, andPartialEq
DebugColor
resource now contains 4 colors instead of one, and no longer implementFrom<Color>
PhysicsSteps::duration
now returns aPhysicsDuration
instead ofDuration
heron_rapier::rapier
module has been replaced byheron_rapier::rapier2
in 2d andheron_rapier::rapier3d
in 3d.Layer
trait now ta works withu32
instead ofu16
(effectively increasing the number of layers up to 32)HeightField
to theCollisionShape
enumVelocity
andTransform
are now updated during theCoreStage::PostUpdate
. If a user-system need to run after the physics update, it should explicitly declares that dependency using thePhysicsSystem
labels.CollisionEvent
now contains a pair ofCollisionData
instead of a pair ofEntity
BodyHandle
component is removed. The rapier'sRigidBodyHandle
andColliderHandle
are now used instead.Features
enhanced-determinism
feature flag (#180) (06457df)PhysicsWorld
system parameter that can be used for ray and shape casting (#129) (e0f8a35)SensorShape
component to mark individual collision shape as sensor (#104) (fafab26)BodyHandle
(#54) (fb487df)CollisionData
in events (#189) (b89446c)PendingConvexCollision
(#224) (c51c5a1)enhanced-determinism
(#236) (cca0033)PendingConvexCollision
component (behind thecollision-from-mesh
feature flag) (#190) (086a6a6)CollisionData::new
accept any implementation ofIntoIterator<Item=Vec2>
(#211) (df3169a)CollisionLayers::none
andCollisionLayers::from_bits
const functions (#228) (dbf4b30)Bug Fixes
CollisionData
useVec3
normals (instead ofVec2
) (#238) (9993816)chore
Documentation
BodyHandle
constructor to changelog (dfb2d92)Restitution
component has been removed (03e9ccc)collision-from-mesh
feature (98aad5e)Collisions
component from the root crate doc (1f1a9f5)This PR was generated with Release Please. See documentation.