Skip to content

Commit

Permalink
Fix issue with assert in OverlappingPairs::setNeedToTestOverlap()
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielChappuis committed Oct 4, 2024
1 parent 385b69a commit 986673d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [0.10.2] - 2024-10-01

- Issue [#402](https://github.com/DanielChappuis/reactphysics3d/issues/402) Adding colliders to inactive body
- Issue [#391](https://github.com/DanielChappuis/reactphysics3d/issues/391) with assert in OverlappingPairs::setNeedToTestOverlap() method
- Fix issue with capsule vs capsule collision detection

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions src/body/RigidBody.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -855,10 +855,10 @@ void RigidBody::setTransform(const Transform& transform) {
mWorld.mRigidBodyComponents.setConstrainedOrientation(mEntity, transform.getOrientation());
}

Body::setTransform(transform);

// Awake the body if it is sleeping
setIsSleeping(false);

Body::setTransform(transform);
}

// Return the linear velocity
Expand Down

0 comments on commit 986673d

Please sign in to comment.