How to use RecastJSPlugin?

Hi Cedric, I tried that, but the error persists and happens while compiling… :frowning: I think I need to declare it in a ts file, but I can’t seem to get it to work…
Also, is adding recast.js to the HTML via a script tag necessary if you install the recast-detour package?

I’m a total noob for this kind of questions. I’m sure @sebavan or @Evgeni_Popov can answer :slight_smile:

@MackeyK24
I can expose up to the next 4 points composing the agent path. Recast agents are limited by the number of corners. I guess internally, the path is updated regurlarly to take dynamic obstacles and other updates.

That’s kool then … don’t think the 4 points will be that useful… but glad to see dynamic obstacles :blush:

2 Likes

Sorry, I’m not an expert of npm at all, I’m happy when everything is working in that area and I don’t need to deal with it…

Thanks for looking into it, I switched to plain JS for now.