Skip to main content
New Participant
May 15, 2025
Solved

Overlapping with anchored meshes events are triggered constantly

  • May 15, 2025
  • 1 reply
  • 544 views

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.

    This topic has been closed for replies.
    Best answer by InscapeVTS

    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

    InscapeVTSAuthorAnswer
    New Participant
    May 19, 2025

    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.