BabylonJS / havok

The Havok Physics plugin runtime files (wasm and js)
16 stars 4 forks source link

Update WASM to 560673 #5

Closed eoineoineoin closed 1 year ago

eoineoineoin commented 1 year ago

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

eoineoineoin commented 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.

RaananW commented 1 year ago

i'll release a new patch version later today