Is there a way to fake headtracking in unity tests?
Is there a way to fake headtracking in unity tests?
by sCan on Oct 28th, 2013 19:19 PM
Hey.
Im just wondering if there is a way to fake the opendive sensors while just pressing play in unity?
I'd like to do quicker testing by maybe pressing a button to simulate looking up with the smartphone
sCan
Posts: 6
Joined: 27.08.2013
Re: Is there a way to fake headtracking in unity tests?
by FabulousPixel on Oct 30th, 2013 09:05 AM
Just attach a Mouse Look script to the camera. For testing on your smartphone you have to deactivate this script again.
FabulousPixel
Posts: 14
Joined: 17.07.2013
Re: Is there a way to fake headtracking in unity tests?
by John on Dec 3rd, 2013 09:18 AM
This problem troubled me for some time.
What I had already done was built GUI buttons to simulate the touch and controller input that the user would eventually use.
When I had the major headache of needing to simulate the gyroscope, and not wanting to use gyromote, (Google it if you haven't heard of it,) I eventually made another set of GUI buttons to simulate the gyroscope input.
This way, I could test out both methods of input simultaneously.
So I recommend creating a duplicate set of variables that parallel how you are handling your gyroscope data and creating GUI buttons to control those variables. I even named the buttons "Floor," "Wall," etc. Check out the attached image.BlueGimbal GyroTroller.png
The result rocks! check out my app GyroTroller at http://www.bluegimbal.com and on the app store soon!