Forum Discussion
InscapeVTS
7 months agoExplorer
Overlapping with anchored meshes events are triggered constantly
I am using Unreal Engine 5.4.4 with the MetaXR plugin v66, and I also tried v71 with the same result.
I want to have some objects anchored in the room, and I want to interact with them using a pointer attached to the controller.
To do that, I am using the Blueprint events "OnComponentBeginOverlap" and "OnComponentEndOverlap", when I touch another object with that pointer component, these events are called once when beginning the overlap, and once when ending the overlap. If the other object is a child of an actor with an OculusXRAnchorComponent, these events are fired constantly, even if the object and the pointer seem to keep colliding.
Found a workaround. I simply disable the Anchor component on begin overlap, and re-enable after some time on end overlap. That works well in my case.
1 Reply
Replies have been turned off for this discussion
- InscapeVTSExplorer
Found a workaround. I simply disable the Anchor component on begin overlap, and re-enable after some time on end overlap. That works well in my case.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago
- 5 years ago