Any way to rotate the PawnSensing Components "Peripheral Vision"?

Is there any way to rotate the PawnSensing Components “peripheral vision” 90 degrees?

I have a crab enemy and I want it to move sideways when using “Move To Location or Actor” so I set the mesh to be facing sideways and I want to move the PawnSensing Component to be also facing sideways.

Does anyone know how?

Hey @SLEEPYWOWWOW, Welcome to the forums!

Unfortunately there is not a way to do this via blueprints, just C++. The eyes will always be located at front and center otherwise. Here’s another thread explaining how that works!

Alternatively, you could just have the crab do periodic sphere trace to the “Left” of it to sense the player if they’re close, instead of PawnSensing.

Hope that helps! :slight_smile:

Well that’s a bummer that I can’t rotate it, but I was able to do what I wanted to do with the sphere idea!

Thank you so much!

You could keep the Pawnsensing but at 360 degrees, so you can maintain the system by events, as if it were a trigger. When it is activated, you can calculateas Mind-Brain said.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.