Skip to content

Commit 986673d

Browse files
Fix issue with assert in OverlappingPairs::setNeedToTestOverlap()
1 parent 385b69a commit 986673d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [0.10.2] - 2024-10-01
44

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

89
### Fixed

src/body/RigidBody.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,10 +855,10 @@ void RigidBody::setTransform(const Transform& transform) {
855855
mWorld.mRigidBodyComponents.setConstrainedOrientation(mEntity, transform.getOrientation());
856856
}
857857

858-
Body::setTransform(transform);
859-
860858
// Awake the body if it is sleeping
861859
setIsSleeping(false);
860+
861+
Body::setTransform(transform);
862862
}
863863

864864
// Return the linear velocity

0 commit comments

Comments
 (0)