Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
InscapeVTS's avatar
InscapeVTS
Explorer
7 months ago
Solved

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
  • 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.