Log in or register to post comments

Rotating device during initialization breaks raycasting from screen

November 27, 2017 - 12:30am #1

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

November 27, 2017 - 8:58am #2

Hello aletoivonen,

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,

-Vuforia Support

Log in or register to post comments