Description
Sensor Camera β cross-platform First Person Camera Controller (FPS Game view). It automatically selects a Motion Sensor (Gyroscope or Accelerometer) on Mobile Devices or Mouse + Keyboard on Desktop Platforms.
[ Documentation | Support | Forum | Map of Assets ]
It doesnβt use live video input from the Back/Rear Camera of a Mobile Device like in Augmented Reality Cameras: AR Camera Lite or AR + VR: MR Camera.
π Features
Bring the enchanting Power of the Universal First-Person View Camera into your amazing Game or App. There are no limitations between Input Devices and Target Platforms, but Asset was tested this way:
Motion Sensors on Mobile Devices (iOS, Android, WebGL) with 2 Modes:
Gyroscope or Accelerometer.
Spectator (Flythrough) Mode on Desktop (Windows, macOS, WebGL):
Mouse and Keyboard.
Auto Selection of User Input Device:
Gyroscope β Accelerometer β Mouse + Keyboard.
Device Orientations: Portrait, Landscape.
π Package Contains
Demo Scene with Cubes.
Menu Scene with Safety Tutorial.
Loading Screen to switch scenes seamlessly.
π Camera Modes
The camera automatically selects User Input Device:
Gyroscope β Accelerometer β Mouse + Keyboard.
There are no limitations between Input Devices and Target Platforms.
π π Motion Sensors: Gyro vs. Accelerometer
Motion Sensors are usually used on Mobile Devices. The more accurate sensor will be selected:
Gyroscope Mode: 3DoF β it can track rotational motion, but not translational.
Accelerometer Mode (horizontal rotation is limited): tilting the phone to the left or right rotates the camera around the Y-axis.
90% of all mobile devices have an accelerometer and video camera, but only 40% have a gyroscope.
If the User Device has a Gyroscope, then it will be used for camera motion first. Otherwise, an Accelerometer will be used because it has less accuracy & stability than a Gyroscope in the case of the First-Person View.
π π Spectator (Flythrough) Mode: Mouse + Keyboard
If the User Device has not any Motion Sensor, then Mouse + Keyboard will be used for camera motion first. Itβs usually used on Desktop Platforms:
Smooth Movement using WASDQE keys.
Smooth Camera Rotation using the Right Mouse Button by Default. You can also use any other mouse button, or Rotate the Camera without a button pressed at all.
β¨ Limitations
Hardware nuances of the gyroscope & accelerometer (asset code does not affect it):
Different devices have different sensors, and therefore different deviations and drifts.
Drift is natural for the mobile sensors.
π Docs & Support
I state the work of the asset only with uploaded Unity version or with the version indicated in the latest online docs that contain all instructions for the 1st launch.
If you find a bug, or you can't use the asset as you need, please first
get the support before leaving a review on the asset store.
I am here to help and to improve my assets for the best.
Response time can be up to 5 business days.
Included formats
- versions