Crowd agents bug?
in crowd.addAgent the x/z are flipped.
In the above pg, cube is created at -3,0,0 and the agents are added at 0,0,-3, they have the same position.

And for agent velocity (i have seen that someone asked, don’t remember where)

RecastJSCrowd.prototype.getAgentVelocity = function (index) {
return this.recastCrowd.getAgentVelocity(index);

1 Like

Pinging @Cedric

I’m taking a look.

I’ve found a fix:

and updated recastjs: