Download

Perception System Toggling Successfully Sensed with MotionControllerPawn

I’m trying to implement the perception system in VR. The enemy AI controller seems to be getting the OnPerceptionUpdate event multiple times in quick succession. One with successfully sensed for the VR pawn then immediately not successfully sensed. I haven’t moved. It repeats a bunch of times. If I pop in the first person character pawn it works as expected. You move into sight if fires with successfully sensed, move out, and successfully sensed becomes false. Anybody know what is going on here?

I’m using Unreal 4.25.4 and the default VR MotionControllerPawn.