I have an imagetarget that has a surface you need to scratch away, like a "scratch and win" coupon. The spot to scratch is defined by raycasting from screen to the scene with ScreenpointToRay. If I rotate my device during Vuforia's initialization, the raycasting for the scratch mesh seems to get offset and the hole will be scratched to a wrong spot on the card. I have tried enabling and disabling gyro at different points, but it doesn't seem to have any effect. Seems like Vuforia's initialization doesn't properly offset the device's rotation or something? I'm using device tracking mode, as I need it for some other targets in the project.
Rotating device during initialization breaks raycasting from screen
Our engineering team is aware of this issue you are encountering and we are working towards resolving it for a future release of Vuforia.
I'll provide you with an update here when the fix is available.
Thanks for your continued interest in Vuforia,
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?