chillbert

Results 10 comments of chillbert

do you know by chance where to look to help to implement this feature? I would love to dive deep into the implementation of additional web apis... as example the...

omg, the post is from 2022 - ok I guess there is no chance of a response or any chance for implementation

Thanks, I didn't know useXR()... before I tried const { camera } = useThree(); but that is not available in VR/AR mode. Isn't useXR a hook that should refresh itself?...

@brianyuen did you make this work? position from {player} = useXR() gives me always 0,0,0

@Darkensses thx for your repo! I noticed even a better performance for multi image trackers with your implementation. What I can't understand is how would I implement Anchor found and...

> > @Darkensses thx for your repo! I noticed even a better performance for multi image trackers with your implementation. > > What I can't understand is how would I...

aaah now I see, you moved the webcam view from the html drei component in its own canvas - this explains the performance boost much likely.

I still didn't manage to fix the onAnchorLost trigger... In this code the visibility of the anchor children works, but the onAnchorLost callback is not triggered: ``` function ARAnchor({ children,...

finally: ``` function ARAnchor({ children, target = 0, onAnchorFound, onAnchorLost, }) { const { controller } = useAR(); const ref = useRef(); const anchor = useAtomValue(anchorsAtom); const prevAnchorState = useRef(false);...