Mugen87 / yuka

JavaScript library for developing Game AI.
https://mugen87.github.io/yuka/
MIT License
1.1k stars 90 forks source link

Yuka and Babylon.js #55

Closed eldinor closed 2 years ago

eldinor commented 2 years ago

This is actually not an issue, just a question. Are there any examples of Yuka implementation with Babylon.js?

Mugen87 commented 2 years ago

No sorry. The official examples all use three.js.

Maybe it's a good idea to use BabylonJS at least with one of the simpler steering examples.

eldinor commented 2 years ago

Thanks for your answer! I asked this question because it would save some time for me :) But if there are no such examples I think I'll begin with some simple ones.

Maybe you already have this example - https://jsfiddle.net/qxmpuojs/ but not for Pixi (which won't work anyway) but for Three.js?

Mugen87 commented 2 years ago

Updated pixi-version of the fiddle: https://jsfiddle.net/e71tmq5j/

I'll try to migrate one of the steering example.

Mugen87 commented 2 years ago

ddf9c08454cdc112716956d00e0d0df2f6f40a93 should solve this issue.

Mugen87 commented 2 years ago

Live link: https://mugen87.github.io/yuka/examples/steering/seek/