RichAI SetPath throwing an error

Hello,

I just bought this package and I’m trying to build a simple networked game with it. I’m able to create a path on the server side and sending the path.vectorPath to the client.

I’m then using this array of vector with the function SetPath (of the RichAI) on the client side, but it seems it’s not working correctly, I have the following error :Path traverses no nodes.

I think it’s because I’m not passing the second parameter of the function (but it’s optional).

This is working correctly with the AIPath component.

I’m doing something wrong?

Thanks.

Hi

The RichAI movement script requires the nodes in the path to be able to follow it. The AIPath script only requires the vectorPath list.

1 Like