Closed JeromeCHA closed 2 months ago
This is not a solution, but an idea why it happens. My guess is that the SphereNode is using a bounding box for the collision test.
A quick rundown revealed, that a box must be used:
In the collision package there is a class called Sphere.java. Probably a remnant of SceneForm, but you can give it a try.
@RGregat Ohh I see, thank you for the explanation. I hope it can be fixed 🤔 For a SphereNode, I guess you can check if the tap is outside the sphere area, but for some models (using ModelNode for example) it will be tough to avoid that behavior
Shape | Result |
---|---|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
Currently, with the version
2.2.0
, I am facing the issue where hitTest result is returned even if we tapped outside the node.The behavior can be reproduced with the following simple code.
or with the gesture listener
Here is the result
Is there something I am doing wrong? or anything I can do to avoid this?
Edit : Still occurs in
2.2.1