Requires Unity 2018.3.7 or higher.
AR Camera ACCELEROMETER — augmented reality for 90% of all mobile devices without using gyroscope and compass, blends game objects and information with the surrounding environment. AR相机加速计-90%的移动设备不使用陀螺仪和指南针的增强现实,将游戏对象和信息与周围环境融合
Note: Mobile camera implements markerless augmented reality (AR) by using an accelerometer and video camera on the player's mobile device to display 2D or 3D objects as though they were in the real world.
☄️ ARKit & ARCore
There is no integration with ARKit & ARCore.
AR Camera ACCELEROMETER operates with accelerometer without surface detection to cover a wider range of mobile devices than ARKit & ARCore.
Read more: Top AR Engines for Unity
☄️ PACKAGE CONTAINS
– Demo with AR Shadow
☄️ ACCELEROMETER vs. GYRO
90% of all mobile devices have an accelerometer and video camera but only 20% have a gyroscope.
If you want greater coverage of devices, but less accuracy and stability, use AR Camera ACCELEROMETER.
If you want greater accuracy and stability, use AR Camera GYRO.
You can also try to use both cameras for different cases.
☄️ TRACKING
There are 3 different forms of tracking.
— Back Camera,
— None Camera,
— None Camera XZ Rotation.
The asset does not use a neural network to surfaces recognition. There is no surface recognition.
☄️ LIMITATIONS
— If we look straight down, the camera starts to rotate around the Y-axis very quickly.
— Camera tracking does not respond to very fast movements (excessive motion, blurred images).
— Camera tracking needs good illumination of the environment.
☄️ TESTED WITH MOBILE DEVICES
— Android on Lenovo A606.
iOS notes: iPhone 4 or later has a gyroscope, so you can use AR Camera GYRO for greater accuracy and stability.
☄️ FULLY COMMENTED CODE
All modules are designed independently to keep this asset extendable & easy to understand.