New
0.37.0
Breaking changes:
SoftBodySharedSettings::mVertexRadiuswas moved toSoftBodyCreationSettings::mVertexRadius.
Added:
- Added
SoftBodyCreationSettings::mFacesDoubleSidedwhich treats the faces of the soft body as double sided. This can be used to make e.g. flags double sided. - Added support for compound shapes as character shape in
CharacterVirtual. - Added
BodyInterface::SetIsSensor/IsSensorfunctions.
Fixes:
- Fixed bug in
ConvexHullShape::CollideSoftBodyVerticeswhere the wrong edge could be reported as the closest edge. - Fixed bug in
PhysicsSystem::OptimizeBroadPhase. When calling this function after removing all bodies from thePhysicsSystem, the internal nodes would not be freed until bodies are added again. This could lead to running out of internal nodes in rare cases. - Fixed passing underestimate of penetration depth in
ContactListener::OnContactPersistedwhen the contact comes from the contact cache. QuadTreewill now fall back to the heap when running out of stack space during collision queries. Previously this would trigger an assert and some collisions would not be detected.- Fixed
BodyInterface::MoveKinematic,SetLinearVelocity,SetAngularVelocity,SetLinearAndAngularVelocity,AddLinearVelocity,AddLinearAndAngularVelocity,SetPositionRotationAndVelocityandSetMotionTypewhen body not added to the physics system yet.