Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day 5 - tap gesture not triggered #4

Open
thisIsTheFoxe opened this issue Aug 3, 2023 · 0 comments
Open

Day 5 - tap gesture not triggered #4

thisIsTheFoxe opened this issue Aug 3, 2023 · 0 comments

Comments

@thisIsTheFoxe
Copy link

Hi,
Awesome project! Helped me a lot getting into and familiar with VisionPro and the SDK. However, one thing I struggled with was that all my SpatialTapGesture() didn't work. So, I looking into Day 5 and it wasn't working there either.. I eventually found Day 13 and this WWDC video which cleared things up a lot..
TL;DR, you need to set InputTargetComponent & CollisionComponent, which isn't being done for contentEntity.

So, I'd suggest either removing the .gesture or setting the components. Otherwise it's a bit confusing, at least imo.. ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant