Character navigation not working properly. Floating navigation goes under the ground

Original Discord Post by chris123d | 2024-04-26 22:51:57

I’m not sure why my convai character isn’t navigating properly. A normal bot will work fine but the default metahuman with convai and the floating movement component just teleports under the floor. Any suggestions?

Reply by chris123d | 2024-04-26 22:55:20

it’s snapping to 0,0,0 for some reason

Reply by k3kalinix | 2024-04-26 23:07:58

<@365628745886859267>

Reply by chris123d | 2024-04-26 23:12:43

even just this put the character at 0,0,0 for some reason. very weird.

Images:

Reply by chris123d | 2024-04-26 23:12:59

or setting an exact location to move to. all the same result. gets stuck at 0

Reply by chris123d | 2024-04-26 23:13:08

i assume it’s the floating pawn movement

Reply by chris123d | 2024-04-26 23:17:09

they’re running the same code. default works, convai one doesn’t

Reply by chris123d | 2024-04-26 23:17:45

Images:

Reply by k3kalinix | 2024-04-26 23:18:45

Hey <@808776636433956935>, my other teammate can you help about it but time is pretty late for him. Probably tomorrow he can check.

Reply by chris123d | 2024-04-26 23:19:07

cool thanks. really weird. if I figure it out before then I’ll let you know

Reply by k3kalinix | 2024-04-26 23:19:17

Btw did you try our Action samples ?

Reply by chris123d | 2024-04-26 23:19:26

yeah I did use that to get started

Reply by k3kalinix | 2024-04-26 23:19:57

I see, i am not Unreal Engine developer so i cannot help.

Reply by chris123d | 2024-04-26 23:20:02

np

Reply by chris123d | 2024-04-27 00:44:48

Ok I fixed it but had to basically rebuild the metahuman on top of the third person character, do LOD syncs and all kinds of stuff to get it working. But she walks now. Geeze. I would recommend switching to character movement instead of floating pawn movement btw.

Reply by chris123d | 2024-04-27 02:01:28

nevermind. Doesn’t work. ConvAIBaseCharacter is the problem

Reply by chris123d | 2024-04-27 03:10:05

yeah so unfortunately I can only get the facesync to work on the convaiBaseCharacter class OR I can make it move properly using the chatbot as a component. One or the other right now. Frustrating as hell.

Reply by freezfast | 2024-04-27 04:49:57

Hey you can replace pawn movement with character movement and the animation blueprint will pick up on that

Reply by freezfast | 2024-04-27 04:52:53

If the character is teleporting below the ground, go to the tick event in comvai base character, and you will find a function called snap to ground or similar, remove it and it will no longer teleport

Reply by freezfast | 2024-04-27 04:53:24

It basically tries to find the nearest collision below the character and snaps it to it