By Ihno
on Tue, 08/04/2015 - 16:01
Here is what I would like to do.
I am standing in a room. When I track a picture/target on the wall, old pictures (like from 50 years ago) of this room will appear on different positions in that room.
So when I track that target , all pictures should be freezed so that I can look around and see also the pictures behind me, it is like using the gyroscope.
Is it possible to intregrate a gyroscope with vuforia? So first track a target and after that view stuff and look around in gyro style?
Thanks.
Gyroscope integration
Thanks for the reply.
I am using the following script. Which works fine. Now I can track a target, after that, some objects are visible in scene (not as a child of the image Target).
Gyroscope integration
What sort of movement are you seeing? - are the objects drifting or shaking?
Have you experimented w/ LERPing or SLERPing the rotation inputs?
http://forum.unity3d.com/threads/what-is-the-difference-of-quaternion-slerp-and-lerp.101179/
Gyroscope integration
The movement is more like drifting or lerping to a certain position.
I tried lerp and slerp. But both are giving the same result.
Hi, I want to get the similar
Hi, I want to get the similar effect in my project, Have you maked it work? Please let me know, Thanks !
Hi, I want to get the similar
Hi, I want to get the similar effect in my project, Have you maked it work? Please let me know, Thanks !
Hi, I am wondering, is it
Hi, I am wondering, is it working now?
@lhno Hey, thanks for the
@lhno Hey, thanks for the code! It helped a lot. Yes, the objects are not exactly frozen in their places. If you find a solution, do post it, and I'll do the same if I find something. I'm searching the internet right now.
All the best, keep us updated brother :D
I found a temporary solution.
I found a temporary solution. The objects will not be frozen in the perspective view, but will not be moving a lot, like what was happening earlier.