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

implement basic picking #4266

Closed
pixelflinger opened this issue Jul 8, 2021 Discussed in #3827 · 2 comments
Closed

implement basic picking #4266

pixelflinger opened this issue Jul 8, 2021 Discussed in #3827 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@pixelflinger
Copy link
Collaborator

Discussed in #3827

Originally posted by ThomasGorisse April 20, 2021
Hi Filament Team,

I'm currently working on the Collision part of an upcoming ARCore/Filament repo.

Since there is not yet any raycasting implementation available on Filament from what I saw, I have 2 choices:

  1. Use the ARCore hitTest() from Frame based on the Scene Anchors Entitys which is quite high level since it can take a MotionEvent or Ray parameter and return the corresponding real world Pose that I can use to detect collision with the FilamentAsset bounding box.
    BUT this involve excluding the non AR (Filament only) usage in the framework.
  2. Implement the Collision system from scratch inside the framework and use the ARCore HitTest when the renderable is anchored in the real world.

My questions:

  1. Is there any plan to implement raycasting/collision directly inside Filament ?
  2. Do you have any link/infos on already implemented raycasting/collision systems ?

Thanks

@pixelflinger pixelflinger added the enhancement New feature or request label Jul 8, 2021
@pixelflinger pixelflinger self-assigned this Jul 8, 2021
@pixelflinger
Copy link
Collaborator Author

We won't implement a sophisticated ray-casting/collision system, however, basic picking would be very useful.

@pixelflinger
Copy link
Collaborator Author

fixed in #4657

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

No branches or pull requests

1 participant