three-arena
three-arena copied to clipboard
Some open questions
Hello vincent
I'm currently scanning through your code and there are a few things I don't quite understand yet. Would you mind answering them?
You use .obj for generating your terrain. What else is supported? There's a method initWithFileContent
, what type of file content should/can that be?
In lib/index.js you create a new PathFinding instance with new PathFinding(this)
however I see no constructor argument in pathfinding/index.js. Did I miss something? ^^
I hadn't had the opportunity yet to thoroughly scan through your code so forgive if a question seems "stupid". I might play around with your code on the weekend though - really looking forward to it :+1:
Hi,
- .obj is the only supported format for now.
initWithFileContent
directly uses the corresponding C++ functions I've added in the RecastSource, they use a very similar code to load - I don't plan to support other formats but it could be nice, you have something in mind ?
- good catch, this argument is not used, I'll clean that