Closed eoineoineoin closed 1 year ago
The change to export the collision-finished events will need an additional change to the Javascript - in CollisionEvent.readToRef, the position/normal/impulse will have to be removed when the event type (intBuf[0]) is 4 (==_hknp.EventType.COLLISION_FINISHED.value) as those values don't exist for contact-finished events.
i'll release a new patch version later today
Enable motion welding for dynamic-static pairs - improves quality of object sliding over meshes Found by user in https://forum.babylonjs.com/t/how-to-preventing-character-bounce-on-flat-terrain/42330 Fix bug where contact-finished events were not exported