Monday, May 26, 2025
HomeGame DevelopmentUnreal Engine 4 AI Character Pawn Fully Unresponsive to Motion Instructions

Unreal Engine 4 AI Character Pawn Fully Unresponsive to Motion Instructions


I am new to sport growth and to Unreal however I can not for the lifetime of me get my AI character pawn to maneuver in any respect utilizing any methodology I do know.

I am growing a second Sidescroller sport utilizing a Tilemap. I’ve made certain collision is ready up with the map and tiles, the participant character can work together with all of it simply tremendous, and I made certain to widen the collision thickness of the map in order that the navmesh can correctly seem (as seen with the inexperienced areas).

Nav Mesh loading. AI spawns within the air and falls down so I do know he is not overlapping with the bottom
Unreal Engine 4 AI Character Pawn Fully Unresponsive to Motion Instructions

I’ve disabled and enabled collision for the static mesh dice element within the character pawn, however he nonetheless would not transfer.
The purpose is to get him to observe the participant when he sees him. The pawnsensing set off works simply tremendous, as I had it print each time he sees him, and he even correctly will get to the purpose of executing the "observe participant" operate (the print assertion works).

Nevertheless, utilizing AIMoveTo fails each time. I’ve tried placing the participant because the goal, the participant’s worldLocation as a vector, and even an arbitrary level vector to the precise of the AI however AIMoveTo fails each time.

I’ve deleted and changed the NavMesh, and I’ve even tried fully skipping utilizing AIMoveTo and simply utilizing Add Motion Enter in each the AI Pondering Blueprint and Character Pawn Blueprint however neither make it transfer. I actually put an Add Motion Enter operate on the Pawn’s occasion tick however it by no means strikes.

Any ideas?

Code:
AI Logic occasion is triggered each tick
AI Logic event is triggered every tick

Character Pawn Tick (for debugging). Doesn’t trigger the Pawn to maneuver
Character Pawn Tick (for debugging). Does not cause the Pawn to move

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments