Releases: c-frame/aframe-physics-system
Releases · c-frame/aframe-physics-system
Compatibility with A-Frame 1.6.0+ + assorted other fixes
What's Changed
- Used a fixed mozilla build by @diarmidmackenzie in #30
- Ammo: add instructions for aframe-physics-system script tag by @jgbarah in #34
- Avoids HTTPS/HTTP conflicts, and linking to out-of-date documentation. by @DougReeder in #35
- Fix pushing direction by @Yuma-Mori in #37
- Body gravity default should match world gravity, not '0 -9.8 0' by @diarmidmackenzie in #38
- Fix hacd by @diarmidmackenzie in #39
- Wait for mesh to be there before computing the shape by @Elettrotecnica in #42
- Handle the case where mesh2shape returns null by @Elettrotecnica in #41
- Do not destroy bodyTransform by @Elettrotecnica in #46
- Fix force-pushable example for the ammo driver by @Elettrotecnica in #45
- Update three-to-ammo dependency to 1.0.1 by @Elettrotecnica in #44
- Updated builds by @diarmidmackenzie in #49
- Use null instead of an object with undefined properties by @Elettrotecnica in #51
- Also update the center of mass of dynamic bodies on syncToPhysics by @Elettrotecnica in #50
- Issue 47 simple fix by @diarmidmackenzie in #52
- Fix crass bug in PR#52 by @diarmidmackenzie in #54
- Examples to 1.5.0 by @diarmidmackenzie in #55
- A new fix for #47 by @Elettrotecnica in #57
- Update three-to-ammo dependency to new c-frame fork by @Elettrotecnica in #60
- Update examples to aframe 1.7.0 and aframe-environment-component 1.4.0 by @vincentfretin in #61
- Revert to aframe 1.5.0 for examples using the stats panel by @vincentfretin in #62
- Solve issues with stats-collector for 1.7.0 compatibility by @diarmidmackenzie in #64
New Contributors
- @jgbarah made their first contribution in #34
- @DougReeder made their first contribution in #35
- @Yuma-Mori made their first contribution in #37
- @Elettrotecnica made their first contribution in #42
- @vincentfretin made their first contribution in #61
Full Changelog: v4.2.2...v4.2.3
Publish to npm
Version released to npm:
https://www.npmjs.com/package/@c-frame/aframe-physics-system
One bug fix:
- Move patch-package from devDependencies to dependencies.
1.4.0 compatibility release
This release delivers compatibility with A-Frame 1.4.0
- All examples updated to use 1.4.0
- Varous fixes to address THREE.js deprecations
- Fix to Cannon driver to address scenarios where applyImpulse could trigger an infinite loop
Various improvements
Updates as follows:
- Patch three-to-ammo to not use getInverse() (deprecated in A-Frame 1.4.0)
- Fix tests that were broken by move to package lock v2
- Extend examples so that each example is available for each of Ammo, Cannon & Cannon Worker (some Cannon Worker examples don't work)
- Performance example (balls rolling down a pinboard)
- Performance statistics for both Cannon & Ammo drivers
- Performance improvements for Ammo driver (don't update static entity positions every frame, guidance on performance impact of
fit:all
)
Back compatibility:
- For performance reasons, the Ammo driver no longer updates static object positions to the physics engine every tick. See docs for more detail.
Add 1.3.0 compatibility (inaugural c-frame updates)
Overhaul to get back in good working condition. Fixes as follows:
- Updated examples to use A-Frame 1.3.0
- Updated to use three-to-cannon v4
- Updated examples to use latest environment component & sphere colliders
- Updated CANNON-shape2mesh to use BufferGeometry rather than Geometry. This affects all of: convex polyhedron, trimesh & heightfield. Only convex polyhedron has been tested. Trimesh and heightfield are implemented in CANNON.shape2mesh (copied from here, but not actually supported in aframe-physics-system, hence code changes are untested)
- Optimize with buffergeometry by using typed array directly without intermediate vector3's
- Fixed issues with force-pushable resolved by tightening up raycast targets
- Added interactivity to compound & constraints
- Removed cannon worker driver from examples, as it doesn't work with some features; I'll raise a separate issue to track that
- Added commentary and code links to each example