You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hiukim If autostart is set to false, and you call start manually with the phone already pointing at the tracking, the targetFound event is fired the very first time. However, if you then call stop, and with the phone still pointing at the tracking, you call start again, the targetFound event is not fired. The same problem happens with pause/unpause. Currently targetFound can't be relied on to make the content visible/invisible because of this issue.
The text was updated successfully, but these errors were encountered:
@hiukim Not sure if I explained the issue well, did you understand? The problem is that I can't rely on the targetFound event to show and hide content because if the ar engine is paused or stopped and the user unpauses or starts the ar engine while already pointing at the image tracking, the targetFound event is not fired, so the content never shows up. That is because I don't place the content under the image tracking entity, but instead check for its transform for placement, and only do so on the target found event (once the target is found I continuously check for the image's position, scale and rotation).
Right now the workaround is to manually set the target to invisible once the ar engine is paused or stopped. This forces the targetFound to trigger even if the user is already pointing at the image target right after the ar engine is unpaused/started.
@hiukim If autostart is set to false, and you call start manually with the phone already pointing at the tracking, the targetFound event is fired the very first time. However, if you then call stop, and with the phone still pointing at the tracking, you call start again, the targetFound event is not fired. The same problem happens with pause/unpause. Currently targetFound can't be relied on to make the content visible/invisible because of this issue.
The text was updated successfully, but these errors were encountered: