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
Please provide the following information about your environment:
Development OS: Windows 11
Device OS & Version: Android 11
Version: React Native 0.73.5 and React-Viro 2.41.1
Device(s): Sony Xperia 5 Mark 2
Description
I'm facing a problem where I want to hide the Viro3dobject on the basis of tracking. That if the tracking is available, set visibility to true else false when tracking is unavailable. I store the tracking value in a state called isTracking which changes value according to ViroTrackingStateConstants.TRACKING_NORMAL and .TRACKING_UNAVAILABLE. The state changes perfectly but the 3d object doesn't hide when tracking is unavailable. if the isTracking state was false initially, then the visibility of 3dobject will remain false even after the isTracking state gets updated. I want it to change visibility dynamically.
Environment
Please provide the following information about your environment:
Description
I'm facing a problem where I want to hide the Viro3dobject on the basis of tracking. That if the tracking is available, set visibility to true else false when tracking is unavailable. I store the tracking value in a state called isTracking which changes value according to ViroTrackingStateConstants.TRACKING_NORMAL and .TRACKING_UNAVAILABLE. The state changes perfectly but the 3d object doesn't hide when tracking is unavailable. if the isTracking state was false initially, then the visibility of 3dobject will remain false even after the isTracking state gets updated. I want it to change visibility dynamically.
Reproducible Demo
The text was updated successfully, but these errors were encountered: