Array of Object3D get only node?

Hi,

Iā€™m working on my NavMesh custom script and I would like to make it more versatile.
For it, I would like to use the NavMesh on multiple object in same time to move to the same point.

For it I tried to change my agent: Object3D to this :

@serializable(Array<Object3D>)    
agentsArray?: Array<Object3D> = [];

And to test I added my previous player, problem :
I get only nodes, like it :

Did I miss something ?
image.png

Original Post on Discord

by user 224464722878005248

@serializable(Object3D) < it needs the content type of the array and not the array type :slightly_smiling_face:

made-with-needle-sidekick-2023-01-07-15-31-14_1lX5koTA.mp4

by user 224464722878005248

Slowly to the new command and conquer xD

by user 224464722878005248