How can I move the detection range of AIPerseption?

First, I want to create an AI that stays in one place and rotates to detect the player.
But there’s a problem with doing that.
Even if you set up a node that rotates the actor, the detection range of AI Perception itself does not rotate.

It looks like the video.

The blueprint is set up like this.

However, if you combine the following nodes, AI Perception will also work at the same time.
スクリーンショット 2024-04-09 220759

However, what we want to achieve is to always perform a slightly complex movement such as ``When the Actor’s angle reaches 90°, wait a certain period of time and then move it to -90°.‘’
It’s a slightly complicated movement. So I want this to be a Blueprint that can be easily controlled.

Is there a way to achieve this?
Please let me know if you have any ideas.

AI detection is set by the Actor Rotation (root component) not the mesh.

So in your timeline just rotate the actor


Thank you!
By connecting Capsule Component to the timeline AIPerception now also works at the same time as the Actor.
Thanks to you I was able to solve this problem!

1 Like

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