What's New
- Physics engine optimizations - large reduction in CPU load for physics-heavy scenes
- WebXR AR Light Estimation API
- GPU Morph Targets plus example
- Viewer: add morph target slider controls
- Switch examples from JSON to GLB assets
- Expose the original browser TouchEvent in a
pc.TouchEvent
- Support loading cubemap faces that are specified as URLs (rather than asset IDs)
- Add script to visualize collision primitives at run-time
- Load GLB textures using the asset system
- Add
options
parameter topc.Asset
constructor - New
pc.AnimComponent
- private API until it is finalized - Lossless compression of all repo images
Bug Fixes
- Reset state of
pc.ButtonComponent
on enable - Cleanup
pc.Asset#loadFromUrl
and construct relative asset URLs correctly - Fix exception when removing a
pc.ParticleSystemComponent
from an entity - Mark second and third parameter of
pc.GraphNode#lookAt
as optional (to fix Typescript bindings) - Handle the case where an animation contains morph target weights on multiple morph instances
- Have the asset system treat a
blob://
prefix as an absolute path - Add jpeg mime type to GLB parser