By tanton18
on Wed, 02/01/2017 - 15:53
Hello, I am using Vumarks in a Unity application.
When I see a Vumark on camera I need the coordinates of the Vumark and its rotation. Is it possible to get those with the Unity API?
You can get the position and
You can get the position and rotation of the marker from the active behaviours of the vumarkTracker.
See the snippet below. It is a smal extraction from the Vumark sample.
Thank you for the answer, but
Thank you for the answer, but the position and rotation of the behaviors is always (0,0,0) and (0,0,0,1)
Did you test it in play mode
Did you test it in play mode or on a device?
I tested it in play mode. Do
I tested it in play mode. Do you think it will be different on a device?
I dont know but i would give
I dont know but i would give it a try
Hello, seems a good solution
Hello, seems a good solution for Unity. Is there any way without Unity only with the Android SDK? I can't find any way in the VuMarkRenderer to get the rotation for the Marker. Or maybe any idea where i can try to get it? Do i have to decompose the modelViewMatrix_Vuforia?