Skip to content

TransformableNode onTapListener not being called on .glb node #256

Discussion options

You must be logged in to vote

Hi,

That's because the touch event is dispatch to the ViewRenderable which could have some standard Android View clicks to handle (Button, TextView,...)

Can you please move to https://github.com/SceneView/sceneview-android in order for me not to go back inside the old Sceneform touch system code to answer your question?

We don't have yet completely renew it but setting the
https://github.com/SceneView/sceneview-android/blob/cbb9f9f6345f40b4bda18fcfa47c79fa059aba0c/sceneview/src/main/kotlin/io/github/sceneview/SceneView.kt#L407
will override any possible View touch returning true.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ThomasGorisse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #248 on December 24, 2021 08:15.