Vuforia on Android mirrors target position after orientation change -
i used videoplayback base of application.
i use screen_orientation_sensor_landscape on both vuforiaappsession.initar , activity orientation.
if start application landscape_left, works fine, if start landscape_right, works fine, if on runtime change orientation, positioning of target ( video supposed ) mirrored, -x , -y instead of x , y.
i looked everywhere people having same problem, failed.
this closest found, cannot think why worked him: https://developer.vuforia.com/forum/android/does-vuforia-287android-support-live-screen-orientation-rot
thanks!
onconfigurationchanged isn't called sensor_landscape, had add sensormanager check orientation change , put vuforiaappsession.onconfigurationchanged() inside of it.
Comments
Post a Comment