Repository navigation
WebAR SDK v2.0.6
What's New in WebAR SDK v2.0.6
We are excited to announce the release of WebAR SDK v2.0.6, packed with new features, enhancements, and critical bug fixes aimed at improving the augmented reality experience. This release focuses on enhancing user interactions and providing developers with more robust tools to create seamless AR applications.
Features
Perspective-Based Scaling (Aframe & Playcanvas)
- Implemented scaling where nearer touchpoints result in larger AR objects compared to farther touchpoints
- Recommended to use a canonical model with specific scale and position settings
AR Rotation Improvement
- AR now faces the phone/user after tapping
- Improves user experience over previous versions where AR faced the initial world direction
Configuration
New SDK Config Properties
Added a new web attribute:
disable-ar-always-facing-camera
When the stage cursor is enabled, AR objects now automatically orient to face the camera upon tapping, with behavior adjustable via the disable-ar-always-facing-camera setting.
API Updates
New APIs
Two new APIs have been introduced:
PerformReset()
- Allows resetting of tracking
- Enables users to design their own reset button
SetPrepareForCameraTransitionCallback()
- Triggered just before the camera transition begins during app loading
- Allows developers to manage HTML elements for a smooth transition