we are working in an Unity game for mobile. Basically it is a scene with 3D characters and a map to see where they are. I would like to know how can I activate the phone camera when I tilt vertically the phone to see the 3D characters inserted in the real world, and return to a map view of the 3D world when I tilt it horizontally. Any ideas if it is possible?
In Unity3D, activate phone camera when tilting phone
99 Views Asked by Jose Maria Tabuyo Rodriguez At
1
There are 1 best solutions below
Related Questions in MOBILE
- Doesn't work TrafficStats.clearThreadStatsTag() in Kotlin
- KeyboardAvoidingView makes a messy the flexbox
- How can I find a lost Samsung Device?
- How can I eliminate or deactivate the white flash that appears when I press a button via a mobile device?
- In MAUI how can I Show different appshell tabbars depending on the user role?
- Why doesn't TrafficStats.clearThreadStatsTag() work in Kotlin?
- How can I create an animation like WhatsApp archive button spawn animation with SwiftUI on watchOS?
- Not showing the widget wrapped with Obx in Android 14
- Is there a way to use Family Link group in my own application?
- Is it viable proxying all my mobile apps requests, to some kind knowing that a request is coming from a secure source
- How can I connect android app to arduino via Bluetooth?
- How to animate calculated position/container height when viewport changes?
- Unnecessary override. Try adding behavior in the overriding member or removing the override
- Selecting an option in the mobile app drop down which is not visible when the app is loaded for the first time
- Getting Real-Time Sensor Data from Smart Watches
Related Questions in UNITY-GAME-ENGINE
- How to use invokerepeating and make ui text fade in/out over time?
- Player input not working properly in unity
- Get block in Mesh Unity
- Does Unity render invisible material?
- Physics.OverlapSphere couldn't detect my ‘Player’
- Cannot sync non-player objects in Unity mirror
- How to script a simple collision using hands in OVRCameraRigInteraction?
- Drawing on 3D object at Unity
- How to Override Spline Rotation for Player-Controlled Car in Racing Game?
- Why doesn't my enemy shield take damage first. Instead both enemy and shield are being destroyed together
- unity + Vuforia balck screen in android AR app
- how do I change an objects tag when the game closes
- How to remove white space in a user's input through an input field in Unity?
- Timeline doesn't start eventhough it recognises the trigger input
- Ragdoll 2D Aiming
Related Questions in CAMERA
- Trained ML model with the camera module is not giving predictions
- godot lean mechanic makes camera glitch
- Can not switch camera while recording with camera plugin, setDescription working but preview doesn't change
- How to Python Open CV Web Cam 4EA Real time Streaming
- Problem picking up with interactive camera and orbitcontrols after amination camera moves "camera view"
- I can't find a conenction diagarm for the OV7670 camera to the ESP8266
- Camera rotation to direction vector
- What does "Simultaneous Live View Up to 6 channels" imply for a IP Camera specification
- RTSP camera sub stream url
- Android record video from multiple cameras and composite the multiple videos into one video
- Orienting a camera that orbits spheres in JOGL2
- Unity render Texture is not as clear as the actual gameobject in the scene, how to make it clearer?
- AR motion design exhibition in the real space of the city
- What is the correct approach to always use the latest camera frame in OpenCV
- OnVif authentication failed for Milesight camera
Related Questions in TILT-SENSOR
- How to do tilt controls for html and Js game
- Compass Heading from Magnetometer on other axis
- In Unity3D, activate phone camera when tilting phone
- Why mpu 9150 yaw values are not accurate?
- Hanging moving gestures (Left/normal/right/up/normal/down) using mpu9150 sensor
- the output of accelerometer sensor adxl335 connected to raspberry pi is 1. How to get the output in decimal format
- Get accelerometer data from ti sensortag using Matlab and HCI-command
- Right functions order in Arduino program using tilt sensor
- Android Studio Gyroscope examples?
- Android onSensorChanged not called on some devices
- FastDTW for Hand Gesture Pattern Recognition Example
- Graphics design for tilt sensor using pitch and roll value
- Unity Rotate Foor using Input.acceleration
- How to detect left and right tilt of an android device mounted with an accelerometer?
- How to read Android accelerometer values in a stable and accurate way?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
First you have to check in Script in the Update Function you can put Something like this:
And in the Image you should add an Script with this content: