Hi @MattBob ,
there was a feedback from dev team:
in Home.js it is possible to make direct calls to functions inside vuforia.js via tml3dRenderer object (e.g., tml3dRenderer.add3DImage(with_some_params) would create a 3D Image widget). Inside vuforia.js, there are three functions
related to resetting:
-> reset: Not implemented in any platform, not usable.
-> resetAll: Not implemented in any platform, not usable.
->resetSpatialTracking: Only implemented on mobile platforms, usable in Mobile projects.
By calling tml3dRenderer.resetSpatialTracking() function in Home.js, it is possible to reset any type of tracking (verified on Area, Image, Model, Spatial, and ThingMark targets). Be aware that calling this function in Studio Preview will log an error message, as the function
is not defined in vuforia.js used by Studio (tested on v9.9.0.5691).
so according the statement above you need to omit this functioning in preview to avoid the error message mentioned by the developer:
if( twx.app.isPreview() != true) tml3dRenderer.resetSpatialTracking() ;